diff options
author | Remy Goldschmidt <taktoa@gmail.com> | 2015-03-03 20:15:30 -0600 |
---|---|---|
committer | Remy Goldschmidt <taktoa@gmail.com> | 2015-03-03 20:15:30 -0600 |
commit | 3876279b1068cd07d82ca8024e77519b0921a428 (patch) | |
tree | 4d218ce066628d52a84e97d75f08f9602f4ff9ea /pkgs/data/icons | |
parent | 919894f4fee159cda0353b8833110d9d93261fb6 (diff) |
Added Numix/Numix-Circle icon theme
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r-- | pkgs/data/icons/numix-icon-theme-circle/default.nix | 30 | ||||
-rw-r--r-- | pkgs/data/icons/numix-icon-theme/default.nix | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/data/icons/numix-icon-theme-circle/default.nix b/pkgs/data/icons/numix-icon-theme-circle/default.nix new file mode 100644 index 0000000000000..807c1e128321b --- /dev/null +++ b/pkgs/data/icons/numix-icon-theme-circle/default.nix @@ -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 = '' + ls -lah + 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; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/data/icons/numix-icon-theme/default.nix b/pkgs/data/icons/numix-icon-theme/default.nix new file mode 100644 index 0000000000000..a28a6dd2de83d --- /dev/null +++ b/pkgs/data/icons/numix-icon-theme/default.nix @@ -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 = '' + ls -lah + 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; + platforms = stdenv.lib.platforms.linux; + }; +} |