nixpkgs/pkgs/development/libraries/libtsm/default.nix

26 lines
654 B
Nix
Raw Normal View History

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