bibata-cursors-translucent: unstable-2019-09-13 -> 1.1.1

This commit is contained in:
Adson Cicilioti 2021-12-07 21:40:15 -03:00
parent 408ecd60d4
commit 15e4cefbea

View file

@ -1,31 +1,16 @@
{ lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
{ lib, stdenv, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "bibata-cursors-translucent";
version = "unstable-2019-09-13";
version = "1.1.1";
src = fetchFromGitHub {
owner = "Silicasandwhich";
repo = "Bibata_Cursor_Translucent";
rev = "2eed979d817148817ea6bca15c594809aa9c2cb9";
sha256 = "1s688v40xx9jbvfncb4kgfnnxkmknji7igqx7c4q1ly9s7imbd1f";
rev = "v${version}";
sha256 = "1ddnwqkxricnd731blckcxvksbgql8k4pfiz65591p81n5095k8y";
};
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/
@ -36,6 +21,6 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ];
maintainers = with maintainers; [ dtzWill AdsonCicilioti ];
};
}