Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 nix-update-script,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "tslib";
11 version = "1.23";
12
13 src = fetchFromGitHub {
14 owner = "libts";
15 repo = "tslib";
16 tag = finalAttrs.version;
17 hash = "sha256-2YJDADh/WCksAEIjngAdji98YGmwjpvxSBZkxAwFc7k=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21
22 passthru.updateScript = nix-update-script { };
23
24 meta = {
25 description = "Touchscreen access library";
26 homepage = "http://www.tslib.org/";
27 license = lib.licenses.lgpl21;
28 platforms = lib.platforms.linux; # requires linux headers <linux/input.h>
29 maintainers = with lib.maintainers; [ shogo ];
30 teams = with lib.teams; [ ngi ];
31 };
32})