Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchzip, stdenvNoCC, fetchFromGitLab, xcursorgen, imagemagick6, inkscape }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "hackneyed";
5 version = "0.8.2";
6
7 src = fetchFromGitLab {
8 owner = "Enthymeme";
9 repo = "hackneyed-x11-cursors";
10 rev = version;
11 sha256 = "sha256-Wtrw/EzxCj4cAyfdBp0OJE4+c6FouW7+b6nFTLxdXNY=";
12 };
13
14 buildInputs = [ imagemagick6 inkscape xcursorgen ];
15
16 postPatch = ''
17 patchShebangs *.sh
18 substituteInPlace make-png.sh \
19 --replace /usr/bin/inkscape ${inkscape}/bin/inkscape
20 '';
21
22 enableParallelBuilding = true;
23
24 makeFlags = [ "PREFIX=$(out)" ];
25 buildFlags = [ "theme" "theme.left" ];
26
27 meta = with lib; {
28 homepage = "https://gitlab.com/Enthymeme/hackneyed-x11-cursors";
29 description = "A scalable cursor theme that resembles Windows 3.x/NT 3.x cursors";
30 platforms = platforms.all;
31 license = licenses.mit;
32 maintainers = with maintainers; [ somasis ];
33 };
34}