summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-10-22 20:31:16 -0500
committerWill Dietz <w@wdtz.org>2019-10-23 12:26:42 -0500
commit06be39a9216ef3bd6c2424bb51c3659982e3f09a (patch)
treec4c9106a330d15d5d68ee0a0ca9ba6b2d23ec924 /pkgs/data/icons
parentfd1e12b0e9936390348ebfa12e01ab99daf01994 (diff)
downloadnixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar.gz
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar.bz2
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar.lz
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar.xz
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.tar.zst
nixpkgs-06be39a9216ef3bd6c2424bb51c3659982e3f09a.zip
bibata-extra-cursors: init at unstable-2018-10-28, more colors
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/bibata-cursors/extra.nix41
1 files changed, 41 insertions, 0 deletions
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 ];
+  };
+}