about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorEvils <evils.devils@protonmail.com>2023-07-21 01:25:50 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-07 23:00:37 +0200
commit62596733c0c433af06dfc13ee89a98a26ce7b532 (patch)
tree11fc77cf7198a26bab0162b7ca4107f9f53860e3 /pkgs/by-name
parent061f741b103850780e34bafed44f785a39e7ea20 (diff)
screentest: init at unstable-2021-05-10
unstable over 2.1 to get the solid colour feature
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/sc/screentest/package.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/sc/screentest/package.nix b/pkgs/by-name/sc/screentest/package.nix
new file mode 100644
index 0000000000000..0c76eaa2d8a82
--- /dev/null
+++ b/pkgs/by-name/sc/screentest/package.nix
@@ -0,0 +1,37 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, intltool
+, pkg-config
+, gtk2
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "screentest";
+  version = "unstable-2021-05-10";
+
+  src = fetchFromGitHub {
+    owner = "TobiX";
+    repo = "screentest";
+    rev = "780e6cbbbbd6ba93e246e7747fe593b40c4e2747";
+    hash = "sha256-TJ47c77vQ/aRBJ2uEiFLuAR4dd4CMEo+iAAx0HCFbmA=";
+  };
+
+  nativeBuildInputs = [
+    autoreconfHook
+    intltool
+    pkg-config
+  ];
+
+  buildInputs = [ gtk2 ];
+
+  meta = with lib; {
+    description = "A simple screen testing tool";
+    homepage = "https://github.com/TobiX/screentest";
+    changelog = "https://github.com/TobiX/screentest/blob/${finalAttrs.src.rev}/NEWS";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ evils ];
+    platforms = platforms.unix;
+  };
+})