Merge pull request #15582 from romildo/upd.numix-gtk-theme
numix-gtk-theme: 2.5.1 -> 2016-05-19
This commit is contained in:
commit
a2f7ae1935
2
pkgs/development/tools/sass/Gemfile
Normal file
2
pkgs/development/tools/sass/Gemfile
Normal file
@ -0,0 +1,2 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'sass'
|
13
pkgs/development/tools/sass/Gemfile.lock
Normal file
13
pkgs/development/tools/sass/Gemfile.lock
Normal file
@ -0,0 +1,13 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
sass (3.4.22)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
sass
|
||||
|
||||
BUNDLED WITH
|
||||
1.11.2
|
18
pkgs/development/tools/sass/default.nix
Normal file
18
pkgs/development/tools/sass/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ lib, bundlerEnv, ruby }:
|
||||
|
||||
bundlerEnv {
|
||||
name = "sass-3.4.22";
|
||||
|
||||
inherit ruby;
|
||||
gemfile = ./Gemfile;
|
||||
lockfile = ./Gemfile.lock;
|
||||
gemset = ./gemset.nix;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS";
|
||||
homepage = http://sass-lang.com/;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
10
pkgs/development/tools/sass/gemset.nix
Normal file
10
pkgs/development/tools/sass/gemset.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
sass = {
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0dkj6v26fkg1g0majqswwmhxva7cd6p3psrhdlx93qal72dssywy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.4.22";
|
||||
};
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.5.1";
|
||||
name = "numix-gtk-theme-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/numixproject/Numix/archive/v${version}.tar.gz";
|
||||
sha256 = "0y6c4xr2n9sygxhgviwd97l02n17n53bkpfp62srkm05cq0jy87k";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/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/share/themes/Numix/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Numix GTK theme";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
31
pkgs/misc/themes/numix-gtk-theme/default.nix
Normal file
31
pkgs/misc/themes/numix-gtk-theme/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, sass, glib, libxml2, gdk_pixbuf
|
||||
, gtk-engine-murrine
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2016-05-19";
|
||||
name = "numix-gtk-theme-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "numix-gtk-theme";
|
||||
owner = "numixproject";
|
||||
rev = "266945047ad8c148d36d0d1f00b39730b84482a9";
|
||||
sha256 = "108qjqwn9shqjkbadyw79y1wbq5ndv30x7xw5wjmbcss5jikr3v1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ sass glib libxml2 gdk_pixbuf ];
|
||||
|
||||
buildInputs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
make install DESTDIR="$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Modern flat theme with a combination of light and dark elements (GNOME, Unity, Xfce and Openbox)";
|
||||
homepage = https://numixproject.org;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
@ -11162,6 +11162,8 @@ in
|
||||
|
||||
s3ql = callPackage ../tools/backup/s3ql { };
|
||||
|
||||
sass = callPackage ../development/tools/sass { };
|
||||
|
||||
sassc = callPackage ../development/tools/sassc { };
|
||||
|
||||
scanmem = callPackage ../tools/misc/scanmem { };
|
||||
@ -15712,7 +15714,7 @@ in
|
||||
|
||||
mate-themes = callPackage ../misc/themes/mate-themes { };
|
||||
|
||||
numix-gtk-theme = callPackage ../misc/themes/gtk3/numix-gtk-theme { };
|
||||
numix-gtk-theme = callPackage ../misc/themes/numix-gtk-theme { };
|
||||
|
||||
kde5PackagesFun = self: with self; {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user