mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
49 lines
994 B
Nix
49 lines
994 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libxkbcommon,
|
|
pkg-config,
|
|
meson,
|
|
ninja,
|
|
check,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libtsm";
|
|
version = "4.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kmscon";
|
|
repo = "libtsm";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-VT4dOlQT98/AaFRGd4vOoyDe8W1KRvvFRaCkr/Abu9Y=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
__structuredAttrs = true;
|
|
|
|
buildInputs = [
|
|
libxkbcommon
|
|
check
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; };
|
|
|
|
meta = {
|
|
description = "Terminal-emulator State Machine";
|
|
homepage = "https://www.freedesktop.org/wiki/Software/kmscon/libtsm/";
|
|
changelog = "https://github.com/kmscon/libtsm/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ ccicnce113424 ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|