From 4b2caa2409fa836b456be59f52b27ac6e49fb17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Tue, 3 May 2016 06:45:17 -0300 Subject: [PATCH] Greybird: init at 2016-03-11 --- pkgs/misc/themes/greybird/default.nix | 33 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/misc/themes/greybird/default.nix diff --git a/pkgs/misc/themes/greybird/default.nix b/pkgs/misc/themes/greybird/default.nix new file mode 100644 index 000000000000..173b392d22a4 --- /dev/null +++ b/pkgs/misc/themes/greybird/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, gtk-engine-murrine }: + +stdenv.mkDerivation rec { + pname = "Greybird"; + version = "2016-03-11"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + repo = "${pname}"; + owner = "shimmerproject"; + rev = "77f3cbd94b0c87f502aaeeaa7fd6347283c876cf"; + sha256 = "1gqq9j61izdw8arly8kzr629wa904rn6mq48cvlaksknimw0hf2h"; + }; + + buildInputs = [ gtk-engine-murrine ]; + + dontBuild = true; + + installPhase = '' + mkdir -p $out/share/themes/${pname}{," Bright"," Compact"," a11y"} + cp -a * $out/share/themes/${pname}/ + mv $out/share/themes/${pname}/xfce-notify-4.0_bright $out/share/themes/${pname}" Bright"/xfce-notify-4.0 + mv $out/share/themes/${pname}/xfwm4-compact $out/share/themes/${pname}" Compact"/xfwm4 + mv $out/share/themes/${pname}/xfwm4-a11y $out/share/themes/${pname}" a11y"/xfwm4 + ''; + + meta = { + description = "Grey and blue theme (Gtk, Xfce, Emerald, Metacity, Mutter, Unity)"; + homepage = http://shimmerproject.org/our-projects/greybird/; + license = with stdenv.lib.licenses; [ gpl2Plus cc-by-nc-sa-30 ]; + maintainers = [ stdenv.lib.maintainers.romildo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4126d518076a..b73efcba400d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16266,6 +16266,8 @@ in gnuk-unstable = callPackage ../misc/gnuk/unstable.nix { }; gnuk-git = callPackage ../misc/gnuk/git.nix { }; + greybird = callPackage ../misc/themes/greybird { }; + gxemul = callPackage ../misc/emulators/gxemul { }; hatari = callPackage ../misc/emulators/hatari { };