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:39:07 -0500
committerWill Dietz <w@wdtz.org>2019-10-23 12:26:43 -0500
commitbe990d53020f13d9a7e3113cd088381ee00b490e (patch)
treee424c41d73c03071dd76e2ffb59358c341841cc9 /pkgs/data/icons
parent06be39a9216ef3bd6c2424bb51c3659982e3f09a (diff)
downloadnixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar.gz
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar.bz2
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar.lz
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar.xz
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.tar.zst
nixpkgs-be990d53020f13d9a7e3113cd088381ee00b490e.zip
bibata-cursors-translucent: init
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/bibata-cursors/translucent.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/data/icons/bibata-cursors/translucent.nix b/pkgs/data/icons/bibata-cursors/translucent.nix
new file mode 100644
index 00000000000..d5b541317b5
--- /dev/null
+++ b/pkgs/data/icons/bibata-cursors/translucent.nix
@@ -0,0 +1,41 @@
+{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "bibata-cursors-translucent";
+  version = "unstable-2019-09-13";
+  
+  src = fetchFromGitHub {
+    owner = "Silicasandwhich";
+    repo = "Bibata_Cursor_Translucent";
+    rev = "2eed979d817148817ea6bca15c594809aa9c2cb9";
+    sha256 = "1s688v40xx9jbvfncb4kgfnnxkmknji7igqx7c4q1ly9s7imbd1f";
+  };
+
+  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 = "Translucent Varient of the Material Based Cursor";
+    homepage = https://github.com/Silicasandwhich/Bibata_Cursor_Translucent;
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ dtzWill ];
+  };
+}