2020-08-05 03:25:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, libxkbcommon, pkgconfig, cmake }:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-05 03:25:15 +00:00
|
|
|
pname = "libtsm";
|
|
|
|
version = "4.0.1";
|
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}";
|
|
|
|
sha256 = "0mwn91i5h5d518i1s05y7hzv6bc13vzcvxszpfh77473iwg4wprx";
|
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
|
|
|
|
2020-08-05 03:25:15 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 03:25:15 +00:00
|
|
|
meta = with stdenv.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 ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = with platforms; unix;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|