about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/sc/screentest/package.nix
blob: d64f3300256f838881b7d41089919be91a3b1911 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ 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=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    autoreconfHook
    intltool
    pkg-config
    gtk2 # for autoconf macros
  ];

  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;
  };
})