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