10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-BYMRPjGRVSnYzkdbxypkuE0YkeVLPJ32iGZ1b0R6wto=";
21 buildInputs = [ libxkbcommon ];
28 # https://github.com/Aetf/libtsm/issues/20
30 substituteInPlace etc/libtsm.pc.in \
31 --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
32 --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
36 description = "Terminal-emulator State Machine";
37 homepage = "https://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
38 license = licenses.mit;
40 platforms = platforms.linux;