2020-08-05 04:25:15 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libxkbcommon, pkgconfig, cmake }:
|
2014-01-15 05:58:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-05 04:25:15 +01:00
|
|
|
pname = "libtsm";
|
|
|
|
version = "4.0.1";
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 04:25:15 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Aetf";
|
|
|
|
repo = "libtsm";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0mwn91i5h5d518i1s05y7hzv6bc13vzcvxszpfh77473iwg4wprx";
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
|
2020-08-05 04:25:15 +01:00
|
|
|
buildInputs = [ libxkbcommon ];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 04:25:15 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2014-01-15 05:58:46 +00:00
|
|
|
|
2020-08-05 04:25:15 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-01-15 05:58:46 +00:00
|
|
|
description = "Terminal-emulator State Machine";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
|
2015-06-26 03:06:55 +01:00
|
|
|
license = licenses.mit;
|
2015-07-01 13:11:05 +01:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2014-01-15 05:58:46 +00:00
|
|
|
};
|
|
|
|
}
|