From 06be39a9216ef3bd6c2424bb51c3659982e3f09a Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 22 Oct 2019 20:31:16 -0500 Subject: bibata-extra-cursors: init at unstable-2018-10-28, more colors --- pkgs/data/icons/bibata-cursors/extra.nix | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pkgs/data/icons/bibata-cursors/extra.nix (limited to 'pkgs/data/icons') diff --git a/pkgs/data/icons/bibata-cursors/extra.nix b/pkgs/data/icons/bibata-cursors/extra.nix new file mode 100644 index 00000000000..dc0ead64974 --- /dev/null +++ b/pkgs/data/icons/bibata-cursors/extra.nix @@ -0,0 +1,41 @@ +{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }: + +stdenvNoCC.mkDerivation rec { + pname = "bibata-extra-cursors"; + version = "unstable-2018-10-28"; + + src = fetchFromGitHub { + owner = "KaizIqbal"; + repo = "Bibata_Extra_Cursor"; + rev = "66fb64b8dbe830e3f7ba2c2bdc4dacae7c438789"; + sha256 = "1xb7v06sbxbwzd7cnghv9c55lpbbkcaf1nswdrqy87gd0bnpdd2n"; + }; + + postPatch = '' + patchShebangs . + substituteInPlace build.sh --replace "gksu " "" + ''; + + nativeBuildInputs = [ + gnome-themes-extra + inkscape + xcursorgen + ]; + + buildPhase = '' + HOME="$NIX_BUILD_ROOT" ./build.sh + ''; + + installPhase = '' + install -dm 0755 $out/share/icons + cp -pr Bibata_* $out/share/icons/ + ''; + + meta = with stdenvNoCC.lib; { + description = "Cursors Based on Bibata"; + homepage = https://github.com/KaizIqbal/Bibata_Extra_Cursor; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ dtzWill ]; + }; +} -- cgit 1.4.1