From 915edac0ce0806ba65f1d73db7b80dcd3d13da9e Mon Sep 17 00:00:00 2001 From: Severen Redwood Date: Sat, 18 Jun 2016 23:33:29 +1200 Subject: [PATCH] adapta-gtk-theme: Init at 3.21.2 --- lib/maintainers.nix | 1 + pkgs/misc/themes/adapta/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 pkgs/misc/themes/adapta/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index c6a10610354d..151412a9400e 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -359,6 +359,7 @@ spinus = "Tomasz Czyż "; sprock = "Roger Mason "; spwhitt = "Spencer Whitt "; + SShrike = "Severen Redwood "; stephenmw = "Stephen Weinberg "; steveej = "Stefan Junker "; swistak35 = "Rafał Łasocha "; diff --git a/pkgs/misc/themes/adapta/default.nix b/pkgs/misc/themes/adapta/default.nix new file mode 100644 index 000000000000..96c43af84854 --- /dev/null +++ b/pkgs/misc/themes/adapta/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, gtk-engine-murrine }: + +stdenv.mkDerivation rec { + name = "adapta-gtk-theme-${version}"; + version = "3.21.2"; + + meta = with stdenv.lib; { + description = "An adaptive GTK+ theme based on Material Design"; + homepage = "https://github.com/tista500/Adapta"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = [ maintainers.SShrike ]; + }; + + src = fetchFromGitHub { + owner = "tista500"; + repo = "Adapta"; + rev = "c48da995abc46087c22b05d2cdb0975d10774641"; + sha256 = "17w9nsrwqwgafswyvhc5h8ld2ggi96ix5fjv6yf1hfz3l1ln9qg7"; + }; + + preferLocalBuild = true; + buildInputs = [ gtk-engine-murrine ]; + nativeBuildInputs = [ autoreconfHook ]; + + configureFlags = "--enable-chrome --disable-unity"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4228ffaee052..d6c8ecb6ae88 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -501,6 +501,8 @@ in arc-gtk-theme = callPackage ../misc/themes/arc { }; + adapta-gtk-theme = callPackage ../misc/themes/adapta { }; + aria2 = callPackage ../tools/networking/aria2 { inherit (darwin.apple_sdk.frameworks) Security; };