nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, libxkbcommon, pkgconfig, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "libtsm";
5 version = "4.0.1";
6
7 src = fetchFromGitHub {
8 owner = "Aetf";
9 repo = "libtsm";
10 rev = "v${version}";
11 sha256 = "0mwn91i5h5d518i1s05y7hzv6bc13vzcvxszpfh77473iwg4wprx";
12 };
13
14 buildInputs = [ libxkbcommon ];
15
16 nativeBuildInputs = [ cmake pkgconfig ];
17
18 meta = with stdenv.lib; {
19 description = "Terminal-emulator State Machine";
20 homepage = "http://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
21 license = licenses.mit;
22 maintainers = with maintainers; [ cstrahan ];
23 platforms = with platforms; unix;
24 };
25}