summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2018-09-21 13:30:12 -0300
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-21 18:30:12 +0200
commite2ed4f3d2267b0268cff1b27611140448486ae39 (patch)
tree6f948cdfdb2bb58e147ffbcd57cc032b200b83ee
parente372ab46265a3dd083e5abee646741b6b5e35caf (diff)
downloadnixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar.gz
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar.bz2
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar.lz
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar.xz
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.tar.zst
nixpkgs-e2ed4f3d2267b0268cff1b27611140448486ae39.zip
numix-cursor-theme: 20160110 -> 1.1 (#47016)
-rw-r--r--pkgs/data/icons/numix-cursor-theme/default.nix19
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/data/icons/numix-cursor-theme/default.nix b/pkgs/data/icons/numix-cursor-theme/default.nix
index edeb61c6d3e..8e5a317082e 100644
--- a/pkgs/data/icons/numix-cursor-theme/default.nix
+++ b/pkgs/data/icons/numix-cursor-theme/default.nix
@@ -1,24 +1,27 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, inkscape, xcursorgen }:
 
 stdenv.mkDerivation rec {
-  version = "20160110";
-
+  version = "1.1";
   package-name = "numix-cursor-theme";
-
   name = "${package-name}-${version}";
 
   src = fetchFromGitHub {
     owner = "numixproject";
     repo = package-name;
-    rev = "e92186d9df47c04d4e0a778eb6941ef58590b179";
-    sha256 = "1sr4pisgrn3632phsiny2fyr2ib6l51fnjdsanmh9ampagl4ly7g";
+    rev = "v${version}";
+    sha256 = "0p8h48wsy3z5dz9vdnp01fpn6q8ky0h74l5qgixlip557bsa1spi";
   };
 
-  dontBuild = true;
+  nativeBuildInputs = [ inkscape xcursorgen ];
+
+  buildPhase = ''
+    patchShebangs .
+    HOME=$TMP ./build.sh
+  '';
 
   installPhase = ''
     install -dm 755 $out/share/icons
-    cp -dr --no-preserve='ownership' Numix{,-Light} $out/share/icons/
+    cp -dr --no-preserve='ownership' Numix-Cursor{,-Light} $out/share/icons/
   '';
 
   meta = with stdenv.lib; {