From 138ecfa03ba017c4a8a01f58104d678b8e0271ed Mon Sep 17 00:00:00 2001 From: Simon Vandel Sillesen Date: Sat, 24 Oct 2015 13:02:39 +0200 Subject: [PATCH] paper-gtk-theme: init at 6a5f14c --- .../themes/gtk3/paper-gtk-theme/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/misc/themes/gtk3/paper-gtk-theme/default.nix diff --git a/pkgs/misc/themes/gtk3/paper-gtk-theme/default.nix b/pkgs/misc/themes/gtk3/paper-gtk-theme/default.nix new file mode 100644 index 00000000000..637fd562bf1 --- /dev/null +++ b/pkgs/misc/themes/gtk3/paper-gtk-theme/default.nix @@ -0,0 +1,29 @@ +{ 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 = "Paper is a modern desktop theme suite. Its design is mostly flat with a minimal use of shadows for depth."; + homepage = "http://snwh.org/paper/"; + license = licenses.gpl3; + maintainers = [ maintainers.simonvandel ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6564a15cad2..12ea6010f55 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2559,6 +2559,8 @@ let panomatic = callPackage ../tools/graphics/panomatic { }; + paper-gtk-theme = callPackage ../misc/themes/gtk3/paper-gtk-theme { }; + par2cmdline = callPackage ../tools/networking/par2cmdline { automake = automake112x; # fails with 14 };