2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libxkbcommon, pkg-config, cmake }:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-05 03:25:15 +00:00
|
|
|
pname = "libtsm";
|
2022-02-19 17:58:34 +00:00
|
|
|
version = "4.0.2";
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 03:25:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aetf";
|
|
|
|
repo = "libtsm";
|
|
|
|
rev = "v${version}";
|
2022-02-19 17:58:34 +00:00
|
|
|
sha256 = "sha256-BYMRPjGRVSnYzkdbxypkuE0YkeVLPJ32iGZ1b0R6wto=";
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
|
2020-08-05 03:25:15 +00:00
|
|
|
buildInputs = [ libxkbcommon ];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2014-01-15 05:58:46 +00:00
|
|
|
description = "Terminal-emulator State Machine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
|
2015-06-26 02:06:55 +00:00
|
|
|
license = licenses.mit;
|
2015-07-01 12:11:05 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2021-11-21 16:29:20 +00:00
|
|
|
platforms = platforms.linux;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|