2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchzip
|
|
|
|
, xorg
|
|
|
|
, hicolor-icon-theme
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vanilla-dmz";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.4.5";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchzip {
|
2020-09-25 04:45:31 +00:00
|
|
|
url = "mirror://debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.xz";
|
|
|
|
sha256 = "14r8fri4byyzavzdifpga6118hxqjwpzd11xxj28s16zxcanq16m";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.xcursorgen
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
dontDropIconThemeCache = true;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildPhase = ''
|
|
|
|
cd DMZ-White/pngs; ./make.sh; cd -
|
|
|
|
cd DMZ-Black/pngs; ./make.sh; cd -
|
|
|
|
'';
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -d $out/share/icons/Vanilla-DMZ/cursors
|
|
|
|
cp -a DMZ-White/xcursors/* $out/share/icons/Vanilla-DMZ/cursors
|
|
|
|
install -Dm644 DMZ-White/index.theme $out/share/icons/Vanilla-DMZ/index.theme
|
|
|
|
|
|
|
|
install -d $out/share/icons/Vanilla-DMZ-AA/cursors
|
|
|
|
cp -a DMZ-Black/xcursors/* $out/share/icons/Vanilla-DMZ-AA/cursors
|
|
|
|
install -Dm644 DMZ-Black/index.theme $out/share/icons/Vanilla-DMZ-AA/index.theme
|
|
|
|
'';
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://jimmac.musichall.cz";
|
|
|
|
description = "A style neutral scalable cursor theme";
|
|
|
|
platforms = platforms.all;
|
2020-09-25 04:45:31 +00:00
|
|
|
license = licenses.cc-by-sa-30;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|