From 7648cb24563c91b1685c8248e6538126bdd48c45 Mon Sep 17 00:00:00 2001 From: Remy Goldschmidt Date: Wed, 4 Mar 2015 18:00:25 -0600 Subject: [PATCH] Added Numix GTK theme, removed unnecessary ls -lah in Numix/Numix-Circle icon themes --- .../icons/numix-icon-theme-circle/default.nix | 1 - pkgs/data/icons/numix-icon-theme/default.nix | 1 - pkgs/misc/themes/gtk3/numix/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 pkgs/misc/themes/gtk3/numix/default.nix diff --git a/pkgs/data/icons/numix-icon-theme-circle/default.nix b/pkgs/data/icons/numix-icon-theme-circle/default.nix index 807c1e128321..927812e43886 100644 --- a/pkgs/data/icons/numix-icon-theme-circle/default.nix +++ b/pkgs/data/icons/numix-icon-theme-circle/default.nix @@ -17,7 +17,6 @@ stdenv.mkDerivation rec { dontBuild = true; installPhase = '' - ls -lah install -dm 755 $out/usr/share/icons cp -dr --no-preserve='ownership' Numix-Circle{,-Light} $out/usr/share/icons/ ''; diff --git a/pkgs/data/icons/numix-icon-theme/default.nix b/pkgs/data/icons/numix-icon-theme/default.nix index a28a6dd2de83..fa4139492cab 100644 --- a/pkgs/data/icons/numix-icon-theme/default.nix +++ b/pkgs/data/icons/numix-icon-theme/default.nix @@ -17,7 +17,6 @@ stdenv.mkDerivation rec { dontBuild = true; installPhase = '' - ls -lah install -dm 755 $out/usr/share/icons cp -dr --no-preserve='ownership' Numix{,-Light} $out/usr/share/icons/ ''; diff --git a/pkgs/misc/themes/gtk3/numix/default.nix b/pkgs/misc/themes/gtk3/numix/default.nix new file mode 100644 index 000000000000..1a9077d36caf --- /dev/null +++ b/pkgs/misc/themes/gtk3/numix/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + version = "2.2.3"; + name = "numix-${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; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb00c59f9cf1..9e4cfbdf7bbd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12841,6 +12841,8 @@ let mate-themes = callPackage ../misc/themes/mate-themes { }; + numix = callPackage ../misc/themes/gtk3/numix { }; + plasma52 = recurseIntoAttrs (callPackage ../desktops/plasma-5.2 { qt5 = qt54; kf5 = kf57;