mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #6654 from taktoa/master
Added Numix/Numix-Circle icon theme and Numix GTK theme
This commit is contained in:
commit
f6796bd7b9
30
pkgs/data/icons/numix-icon-theme-circle/default.nix
Normal file
30
pkgs/data/icons/numix-icon-theme-circle/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "d7e8c4cdcf";
|
||||
|
||||
package-name = "numix-icon-theme-circle";
|
||||
|
||||
name = "${package-name}-${version}";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
|
||||
sha256 = "672d6f4d000c4c75a64e0297f9609afab1035d082d7ab4f7abe3e2173cba9324";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/usr/share/icons
|
||||
cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/usr/share/icons/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Numix icon theme (circle version)";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
30
pkgs/data/icons/numix-icon-theme/default.nix
Normal file
30
pkgs/data/icons/numix-icon-theme/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2c11fbfcee";
|
||||
|
||||
package-name = "numix-icon-theme";
|
||||
|
||||
name = "${package-name}-${version}";
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/numixproject/${package-name}/archive/${version}.zip";
|
||||
sha256 = "61dc170b8a70b20a9075f06e1668d6bd8907a6db0ef9e3568c473296d0f351e1";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/usr/share/icons
|
||||
cp -dr --no-preserve='ownership' Numix{,-Light} $out/usr/share/icons/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Numix icon theme";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
25
pkgs/misc/themes/gtk3/numix-gtk-theme/default.nix
Normal file
25
pkgs/misc/themes/gtk3/numix-gtk-theme/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.3";
|
||||
name = "numix-gtk-theme-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/shimmerproject/Numix/archive/v${version}.tar.gz";
|
||||
sha256 = "b0acc2d81300b898403766456d3406304553cc7016677381f3179dbeb1192a2d";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/usr/share/themes/Numix
|
||||
cp -dr --no-preserve='ownership' {LICENSE,CREDITS,index.theme,gtk-2.0,gtk-3.0,metacity-1,openbox-3,unity,xfce-notify-4.0,xfwm4} $out/usr/share/themes/Numix/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Numix GTK theme";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -9532,6 +9532,10 @@ let
|
|||
|
||||
nafees = callPackage ../data/fonts/nafees { };
|
||||
|
||||
numix-icon-theme = callPackage ../data/icons/numix-icon-theme { };
|
||||
|
||||
numix-icon-theme-circle = callPackage ../data/icons/numix-icon-theme-circle { };
|
||||
|
||||
oldstandard = callPackage ../data/fonts/oldstandard { };
|
||||
|
||||
open-dyslexic = callPackage ../data/fonts/open-dyslexic { };
|
||||
|
@ -12842,6 +12846,8 @@ let
|
|||
|
||||
mate-themes = callPackage ../misc/themes/mate-themes { };
|
||||
|
||||
numix-gtk-theme = callPackage ../misc/themes/gtk3/numix-gtk-theme { };
|
||||
|
||||
plasma52 = recurseIntoAttrs (callPackage ../desktops/plasma-5.2 {
|
||||
qt5 = qt54;
|
||||
kf5 = kf57;
|
||||
|
|
Loading…
Reference in a new issue