fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libxkbcommon,
6 pkg-config,
7 meson,
8 ninja,
9 check,
10 nix-update-script,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 pname = "libtsm";
15 version = "4.4.1";
16
17 src = fetchFromGitHub {
18 owner = "kmscon";
19 repo = "libtsm";
20 tag = "v${finalAttrs.version}";
21 hash = "sha256-8db/amwcV1a5Ho0dymQxKtOFsTN6nLUnwSobuAowSwk=";
22 };
23
24 buildInputs = [ libxkbcommon ];
25
26 nativeBuildInputs = [
27 meson
28 ninja
29 pkg-config
30 check
31 ];
32
33 passthru.updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; };
34
35 meta = {
36 description = "Terminal-emulator State Machine";
37 homepage = "https://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ ccicnce113424 ];
40 platforms = lib.platforms.linux;
41 };
42})