2020-09-06 15:15:25 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchzip
|
|
|
|
, xorg
|
|
|
|
, hicolor-icon-theme
|
|
|
|
}:
|
2015-11-17 21:24:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vanilla-dmz";
|
2020-09-06 15:15:25 +01:00
|
|
|
version = "0.4.5";
|
|
|
|
|
2015-11-17 21:24:48 +00:00
|
|
|
src = fetchzip {
|
2020-09-06 15:15:25 +01:00
|
|
|
url = "mirror://debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.xz";
|
|
|
|
sha256 = "14r8fri4byyzavzdifpga6118hxqjwpzd11xxj28s16zxcanq16m";
|
2015-11-17 21:24:48 +00:00
|
|
|
};
|
2020-09-06 15:15:25 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.xcursorgen
|
|
|
|
];
|
|
|
|
|
2019-09-12 15:47:48 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
2020-09-06 15:15:25 +01:00
|
|
|
|
2019-09-12 15:47:48 +01:00
|
|
|
dontDropIconThemeCache = true;
|
2020-09-06 15:15:25 +01:00
|
|
|
|
2015-11-17 21:24:48 +00:00
|
|
|
buildPhase = ''
|
|
|
|
cd DMZ-White/pngs; ./make.sh; cd -
|
|
|
|
cd DMZ-Black/pngs; ./make.sh; cd -
|
|
|
|
'';
|
2020-09-06 15:15:25 +01:00
|
|
|
|
2015-11-17 21:24:48 +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-06 15:15:25 +01:00
|
|
|
|
2015-11-17 21:24:48 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://jimmac.musichall.cz";
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "A style neutral scalable cursor theme";
|
2015-11-17 21:24:48 +00:00
|
|
|
platforms = platforms.all;
|
2020-09-06 15:15:25 +01:00
|
|
|
license = licenses.cc-by-sa-30;
|
2015-11-17 21:24:48 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|