Unverified Commit 63f04ed6 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

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

parents 787c0730 799940af
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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 ];
  };
})