2020-09-10 18:38:25 +00:00
|
|
|
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
|
2019-10-23 01:39:07 +00:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "bibata-cursors-translucent";
|
|
|
|
version = "unstable-2019-09-13";
|
2020-09-10 18:38:25 +00:00
|
|
|
|
2019-10-23 01:39:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Silicasandwhich";
|
|
|
|
repo = "Bibata_Cursor_Translucent";
|
|
|
|
rev = "2eed979d817148817ea6bca15c594809aa9c2cb9";
|
|
|
|
sha256 = "1s688v40xx9jbvfncb4kgfnnxkmknji7igqx7c4q1ly9s7imbd1f";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
substituteInPlace build.sh --replace "gksu " ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gnome-themes-extra
|
2020-09-10 18:38:25 +00:00
|
|
|
inkscape
|
2019-10-23 01:39:07 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
|
2019-10-23 01:39:07 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|