2018-03-04 11:26:25 +01:00
|
|
|
{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:
|
2015-03-04 03:15:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-04 11:20:57 +01:00
|
|
|
version = "18-02-16";
|
2015-03-04 03:15:30 +01:00
|
|
|
|
|
|
|
package-name = "numix-icon-theme-circle";
|
2016-11-11 11:25:16 +01:00
|
|
|
|
2016-05-20 20:10:37 +02:00
|
|
|
name = "${package-name}-${version}";
|
2015-03-04 03:15:30 +01:00
|
|
|
|
2015-09-11 14:28:02 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numixproject";
|
|
|
|
repo = package-name;
|
2017-09-20 12:01:18 +02:00
|
|
|
rev = version;
|
2018-03-04 11:20:57 +01:00
|
|
|
sha256 = "0q08q1czsk6h0dxqscbgryr12xaakp4zbch37z0jxpwh087gnq4f";
|
2015-03-04 03:15:30 +01:00
|
|
|
};
|
|
|
|
|
2018-03-04 11:26:25 +01:00
|
|
|
nativeBuildInputs = [ gtk3 numix-icon-theme ];
|
2015-03-04 03:15:30 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2015-03-05 08:41:38 +01:00
|
|
|
install -dm 755 $out/share/icons
|
|
|
|
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/share/icons/
|
2015-03-04 03:15:30 +01:00
|
|
|
'';
|
2016-11-11 11:25:16 +01:00
|
|
|
|
2018-03-04 11:26:25 +01:00
|
|
|
postFixup = ''
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache $theme
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2015-09-11 14:25:29 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-03-04 03:15:30 +01:00
|
|
|
description = "Numix icon theme (circle version)";
|
|
|
|
homepage = https://numixproject.org;
|
2015-09-11 14:25:29 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ jgeerds ];
|
2015-03-04 03:15:30 +01:00
|
|
|
};
|
|
|
|
}
|