2018-03-04 02:26:25 -08:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-01-25 17:19:39 -08:00
|
|
|
pname = "numix-icon-theme-circle";
|
2019-10-01 05:53:48 -07:00
|
|
|
version = "19.09.20";
|
2015-03-03 18:15:30 -08:00
|
|
|
|
2015-09-11 05:28:02 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
2019-01-25 17:19:39 -08:00
|
|
|
repo = pname;
|
2017-09-20 03:01:18 -07:00
|
|
|
rev = version;
|
2019-10-01 05:53:48 -07:00
|
|
|
sha256 = "1pmz2dy1580ln5m57xw3vhqrjhviayisgbs2km3i77hyx66hiivi";
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
|
2018-03-04 02:26:25 -08:00
|
|
|
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
2015-03-03 18:15:30 -08:00
|
|
|
|
|
|
|
installPhase = ''
|
2015-03-04 23:41:38 -08:00
|
|
|
install -dm 755 $out/share/icons
|
|
|
|
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
|
2015-03-03 18:15:30 -08:00
|
|
|
'';
|
2016-11-11 02:25:16 -08:00
|
|
|
|
2018-03-04 02:26:25 -08:00
|
|
|
postFixup = ''
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2015-09-11 05:25:29 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-03 18:15:30 -08:00
|
|
|
description = "Numix icon theme (circle version)";
|
2018-09-07 15:32:30 -07:00
|
|
|
homepage = https://numixproject.github.io;
|
2015-09-11 05:25:29 -07:00
|
|
|
license = licenses.gpl3;
|
2018-08-20 17:29:02 -07:00
|
|
|
# darwin cannot deal with file names differing only in case
|
|
|
|
platforms = platforms.linux;
|
2019-03-12 15:45:33 -07:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-03-03 18:15:30 -08:00
|
|
|
};
|
|
|
|
}
|