Merge pull request #15619 from romildo/upd.paper-gtk-theme

Update paper-gtk-theme and add paper-icon-theme
This commit is contained in:
Joachim Fasting 2016-05-22 20:30:46 +02:00
commit ec817b1631
4 changed files with 62 additions and 30 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "paper-icon-theme";
version = "2016-05-21";
src = fetchFromGitHub {
owner = "snwh";
repo = package-name;
rev = "f2a34cab78df0fa7db5a10e93e633953cb7c1eb7";
sha256 = "0pk848jbskkwz7im73119hcrcyr5nim37jcdrhqf4cwrshmbcacq";
};
nativeBuildInputs = [ autoreconfHook ];
installPhase = ''
make install DESTDIR="$out"
'';
meta = with stdenv.lib; {
description = "Modern icon theme designed around bold colours and simple geometric shapes";
homepage = http://snwh.org/paper;
license = with licenses; [ cc-by-sa-40 lgpl3 ];
platforms = platforms.all;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -1,29 +0,0 @@
{ stdenv, fetchFromGitHub, gtk }:
stdenv.mkDerivation rec {
version = "6a5f14cfe697b0a829456a1fd560acdcddc6043f";
name = "paper-gtk-theme-${version}";
src = fetchFromGitHub {
owner = "snwh";
repo = "paper-gtk-theme";
sha256 = "0kyn3a6sq0z22vds6szl630jv20pjskjbdg0wc8abxzwg0vwxc5m";
rev = version;
};
dontBuild = true;
installPhase = ''
mkdir -p $out/share/themes/Paper/
cp -r ./Paper/ $out/share/themes/
'';
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "A modern desktop theme suite featuring a mostly flat with a minimal use of shadows for depth";
homepage = "http://snwh.org/paper/";
license = licenses.gpl3;
maintainers = [ maintainers.simonvandel ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gtk_engines }:
stdenv.mkDerivation rec {
version = "2016-05-18";
name = "paper-gtk-theme-${version}";
src = fetchFromGitHub {
owner = "snwh";
repo = "paper-gtk-theme";
rev = "5113d58dc64de70fcc75ad2d6d05c8c8dae2de7f";
sha256 = "1j9l50iyvadpqsq5v14zgml24jgraajr5kl9ji0ar62nlak2bi8s";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ gtk_engines ];
installPhase = ''
make install DESTDIR="$out"
'';
preferLocalBuild = true;
meta = with stdenv.lib; {
description = "A modern desktop theme suite featuring a mostly flat with a minimal use of shadows for depth";
homepage = "http://snwh.org/paper";
license = licenses.gpl3;
maintainers = [ maintainers.simonvandel maintainers.romildo ];
platforms = platforms.linux;
};
}

View File

@ -2801,7 +2801,7 @@ in
pamtester = callPackage ../tools/security/pamtester { };
paper-gtk-theme = callPackage ../misc/themes/gtk3/paper-gtk-theme { };
paper-gtk-theme = callPackage ../misc/themes/paper-gtk-theme { };
par2cmdline = callPackage ../tools/networking/par2cmdline { };
@ -11592,6 +11592,8 @@ in
opensans-ttf = callPackage ../data/fonts/opensans-ttf { };
paper-icon-theme = callPackage ../data/icons/paper-icon-theme { };
pecita = callPackage ../data/fonts/pecita {};
paratype-pt-mono = callPackage ../data/fonts/paratype-pt/mono.nix {};