Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
708 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tslib";
version = "1.23";
src = fetchFromGitHub {
owner = "libts";
repo = "tslib";
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.linux; # requires linux headers <linux/input.h>
maintainers = with lib.maintainers; [ shogo ];
teams = with lib.teams; [ ngi ];
};
})