2023-07-20 23:25:50 +00:00
|
|
|
{ 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=";
|
|
|
|
};
|
|
|
|
|
2023-09-22 17:30:10 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2023-07-20 23:25:50 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
intltool
|
|
|
|
pkg-config
|
2023-09-22 17:30:10 +00:00
|
|
|
gtk2 # for autoconf macros
|
2023-07-20 23:25:50 +00:00
|
|
|
];
|
|
|
|
|
2023-09-22 17:30:10 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk2
|
|
|
|
];
|
2023-07-20 23:25:50 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|