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