2018-12-13 00:21:55 +00:00
|
|
|
{ fetchFromGitHub, gnome-themes-extra, inkscape, stdenv, xcursorgen }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bibata-cursors";
|
2018-12-13 00:21:55 +00:00
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KaizIqbal";
|
|
|
|
repo = "Bibata_Cursor";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14gvpjp4gv0m59qr8wls7xs5yjx5llldyzack5kg5cg2mzk2nsml";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 stdenv.lib; {
|
|
|
|
description = "Material Based Cursor";
|
|
|
|
homepage = https://github.com/KaizIqbal/Bibata_Cursor;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ rawkode ];
|
|
|
|
};
|
|
|
|
}
|