1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libxkbcommon,
6 pkg-config,
7 cmake,
8}:
9
10stdenv.mkDerivation {
11 pname = "libtsm";
12 version = "4.0.2-unstable-2023-12-24";
13
14 src = fetchFromGitHub {
15 owner = "Aetf";
16 repo = "libtsm";
17 rev = "69922bde02c7af83b4d48a414cc6036af7388626";
18 sha256 = "sha256-Rug3OWSbbiIivItULPNNptClIZ/PrXdQeUypAAxrUY8=";
19 };
20
21 buildInputs = [ libxkbcommon ];
22
23 nativeBuildInputs = [
24 cmake
25 pkg-config
26 ];
27
28 meta = with lib; {
29 description = "Terminal-emulator State Machine";
30 homepage = "https://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
31 license = licenses.mit;
32 maintainers = [ ];
33 platforms = platforms.linux;
34 };
35}