From b3eb3a35edbbef1111d8ff4b4485db808e59936f Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Tue, 1 Mar 2022 01:22:26 -0500 Subject: [PATCH] hackneyed: init at 0.8.2 --- pkgs/data/icons/hackneyed/default.nix | 34 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/data/icons/hackneyed/default.nix diff --git a/pkgs/data/icons/hackneyed/default.nix b/pkgs/data/icons/hackneyed/default.nix new file mode 100644 index 000000000000..74aedaa3786e --- /dev/null +++ b/pkgs/data/icons/hackneyed/default.nix @@ -0,0 +1,34 @@ +{ lib, fetchzip, stdenvNoCC, fetchFromGitLab, xcursorgen, imagemagick6, inkscape }: + +stdenvNoCC.mkDerivation rec { + pname = "hackneyed"; + version = "0.8.2"; + + src = fetchFromGitLab { + owner = "Enthymeme"; + repo = "hackneyed-x11-cursors"; + rev = version; + sha256 = "sha256-Wtrw/EzxCj4cAyfdBp0OJE4+c6FouW7+b6nFTLxdXNY="; + }; + + buildInputs = [ imagemagick6 inkscape xcursorgen ]; + + postPatch = '' + patchShebangs *.sh + substituteInPlace make-png.sh \ + --replace /usr/bin/inkscape ${inkscape}/bin/inkscape + ''; + + enableParallelBuilding = true; + + makeFlags = [ "PREFIX=$(out)" ]; + buildFlags = [ "theme" "theme.left" ]; + + meta = with lib; { + homepage = "https://gitlab.com/Enthymeme/hackneyed-x11-cursors"; + description = "A scalable cursor theme that resembles Windows 3.x/NT 3.x cursors"; + platforms = platforms.all; + license = licenses.mit; + maintainers = with maintainers; [ somasis ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7d628281f78e..01bc193ea802 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7271,6 +7271,8 @@ with pkgs; hackertyper = callPackage ../tools/misc/hackertyper { }; + hackneyed = callPackage ../data/icons/hackneyed { }; + haveged = callPackage ../tools/security/haveged { }; habitat = callPackage ../applications/networking/cluster/habitat { };