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)
This commit is contained in:
Will Dietz 2020-01-15 10:29:37 -06:00
parent 4851555ea0
commit b8eb54ff9e
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -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"; pname = "bibata-cursors";
version = "0.4.1"; version = "0.4.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "KaizIqbal"; owner = "KaizIqbal";
repo = "Bibata_Cursor"; repo = "Bibata_Cursor";
rev = "v${version}"; rev = "v${version}";
sha256 = "14gvpjp4gv0m59qr8wls7xs5yjx5llldyzack5kg5cg2mzk2nsml"; sha256 = "1f7i5jkl21fvrr45zpcj40avkc7camjb1ddrrdlaabbplgz5mcgn";
}; };
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
substituteInPlace build.sh --replace "gksu " "" substituteInPlace build.sh --replace "sudo" ""
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
gnome-themes-extra gnome-themes-extra
inkscape inkscape
xcursorgen xcursorgen
py
]; ];
buildPhase = '' buildPhase = ''