summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2020-01-15 10:29:37 -0600
committerWill Dietz <w@wdtz.org>2020-01-15 11:15:07 -0600
commitb8eb54ff9e15768b70f5f84277a59d74af1abedf (patch)
treefc9fbb317ffa708fe13c2102e38bde5b2ba6f17b /pkgs/data
parent4851555ea050275e3b54ed5fc22a909f1af05d78 (diff)
downloadnixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar.gz
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar.bz2
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar.lz
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar.xz
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.tar.zst
nixpkgs-b8eb54ff9e15768b70f5f84277a59d74af1abedf.zip
bibata-cursors: 0.4.1 -> 0.4.2
* py3+pillow, new deps, fix
* drop sudo invocation (instead of gksu)

https://github.com/KaizIqbal/Bibata_Cursor/releases/tag/v0.4.2
(although most of the notes are in the beta release tags)
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/icons/bibata-cursors/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/data/icons/bibata-cursors/default.nix b/pkgs/data/icons/bibata-cursors/default.nix
index a7a403726fa..cfe65d80bd8 100644
--- a/pkgs/data/icons/bibata-cursors/default.nix
+++ b/pkgs/data/icons/bibata-cursors/default.nix
@@ -1,25 +1,28 @@
-{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
+{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:
 
-stdenvNoCC.mkDerivation rec {
+let
+  py = python3.withPackages(ps: [ ps.pillow ]);
+in stdenvNoCC.mkDerivation rec {
   pname = "bibata-cursors";
-  version = "0.4.1";
+  version = "0.4.2";
 
   src = fetchFromGitHub {
     owner = "KaizIqbal";
     repo = "Bibata_Cursor";
     rev = "v${version}";
-    sha256 = "14gvpjp4gv0m59qr8wls7xs5yjx5llldyzack5kg5cg2mzk2nsml";
+    sha256 = "1f7i5jkl21fvrr45zpcj40avkc7camjb1ddrrdlaabbplgz5mcgn";
   };
 
   postPatch = ''
     patchShebangs .
-    substituteInPlace build.sh --replace "gksu " ""
+    substituteInPlace build.sh --replace "sudo" ""
   '';
 
   nativeBuildInputs  = [
     gnome-themes-extra
     inkscape
     xcursorgen
+    py
   ];
 
   buildPhase = ''