1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

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";
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 = ''