tslib: refactor & add updateScript and NGI team (#422628)

This commit is contained in:
Aleksana
2025-07-05 15:24:58 +08:00
committed by GitHub
+6 -3
View File
@@ -3,27 +3,30 @@
stdenv,
fetchFromGitHub,
cmake,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tslib";
version = "1.23";
hash = "sha256-2YJDADh/WCksAEIjngAdji98YGmwjpvxSBZkxAwFc7k=";
src = fetchFromGitHub {
owner = "libts";
repo = "tslib";
rev = finalAttrs.version;
sha256 = finalAttrs.hash;
tag = finalAttrs.version;
hash = "sha256-2YJDADh/WCksAEIjngAdji98YGmwjpvxSBZkxAwFc7k=";
};
nativeBuildInputs = [ cmake ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Touchscreen access library";
homepage = "http://www.tslib.org/";
license = lib.licenses.lgpl21;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ shogo ];
teams = with lib.teams; [ ngi ];
};
})