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

26 lines
648 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libxkbcommon, pkg-config, cmake }:
stdenv.mkDerivation rec {
2020-08-05 03:25:15 +00:00
pname = "libtsm";
2022-02-19 17:58:34 +00:00
version = "4.0.2";
2020-08-05 03:25:15 +00:00
src = fetchFromGitHub {
owner = "Aetf";
repo = "libtsm";
rev = "v${version}";
2022-02-19 17:58:34 +00:00
sha256 = "sha256-BYMRPjGRVSnYzkdbxypkuE0YkeVLPJ32iGZ1b0R6wto=";
};
2020-08-05 03:25:15 +00:00
buildInputs = [ libxkbcommon ];
nativeBuildInputs = [ cmake pkg-config ];
meta = with 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 = platforms.linux;
};
}