Merge pull request #119455 from Stunkymonkey/numix-master

This commit is contained in:
Sandro 2021-04-14 23:12:38 +02:00 committed by GitHub
commit c4aedcb169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 9 deletions

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "numix-icon-theme-circle"; pname = "numix-icon-theme-circle";
version = "20.09.19"; version = "21.04.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "numixproject"; owner = "numixproject";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1rqlq5ssxqj0nc0i8av7zprj94km5645xzqi5j5i0sxd3jbmyfjx"; sha256 = "1z8c0179r8g0y9zh4383brsfhkcyfy79dc8hw94p9zjn5a66547w";
}; };
nativeBuildInputs = [ gtk3 ]; nativeBuildInputs = [ gtk3 ];
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Numix icon theme (circle version)"; description = "Numix icon theme (circle version)";
homepage = "https://numixproject.github.io"; homepage = "https://numixproject.github.io";
license = licenses.gpl3; license = licenses.gpl3Only;
# darwin cannot deal with file names differing only in case # darwin cannot deal with file names differing only in case
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ romildo ]; maintainers = with maintainers; [ romildo ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "numix-icon-theme-square"; pname = "numix-icon-theme-square";
version = "20.09.19"; version = "21.04.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "numixproject"; owner = "numixproject";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0afraarfcd66mpidmn0l90wif8kmwzdj3s09g704kwszyijxs80z"; sha256 = "0ndxjp173dwz78m41mn818mh4bdsxa2ypv4wrwicx0v4d8z90ddj";
}; };
nativeBuildInputs = [ gtk3 ]; nativeBuildInputs = [ gtk3 ];
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Numix icon theme (square version)"; description = "Numix icon theme (square version)";
homepage = "https://numixproject.github.io"; homepage = "https://numixproject.github.io";
license = licenses.gpl3; license = licenses.gpl3Only;
# darwin cannot deal with file names differing only in case # darwin cannot deal with file names differing only in case
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ romildo ]; maintainers = with maintainers; [ romildo ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "numix-icon-theme"; pname = "numix-icon-theme";
version = "20.06.07"; version = "21.04.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "numixproject"; owner = "numixproject";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1yp9parc8ihmai8pswf4qzrqd88qpls87ipq8ylx38yqns7wsn4h"; sha256 = "1ilzqh9f7skdfg5sl97zfgwrzvwa1zna22dpq0954gyyzvy7k7lg";
}; };
nativeBuildInputs = [ gtk3 ]; nativeBuildInputs = [ gtk3 ];
@ -18,18 +18,22 @@ stdenv.mkDerivation rec {
dontDropIconThemeCache = true; dontDropIconThemeCache = true;
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/share/icons mkdir -p $out/share/icons
cp -a Numix{,-Light} $out/share/icons/ cp -a Numix{,-Light} $out/share/icons/
for theme in $out/share/icons/*; do for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme gtk-update-icon-cache $theme
done done
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {
description = "Numix icon theme"; description = "Numix icon theme";
homepage = "https://numixproject.github.io"; homepage = "https://numixproject.github.io";
license = licenses.gpl3; license = licenses.gpl3Only;
# darwin cannot deal with file names differing only in case # darwin cannot deal with file names differing only in case
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ romildo ]; maintainers = with maintainers; [ romildo ];