From 958a669e83d3463b7387179db651b220c6b3c0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Fri, 28 Dec 2018 16:07:06 -0200 Subject: [PATCH] qogir-theme: init at 2018-11-12 (#52918) * qogir-theme: init at 2018-11-12 * qogir-theme: fix pname Co-Authored-By: romildo --- pkgs/data/themes/qogir/default.nix | 31 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/data/themes/qogir/default.nix diff --git a/pkgs/data/themes/qogir/default.nix b/pkgs/data/themes/qogir/default.nix new file mode 100644 index 000000000000..ee1808cd68e4 --- /dev/null +++ b/pkgs/data/themes/qogir/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, gdk_pixbuf, librsvg, gtk-engine-murrine }: + +stdenv.mkDerivation rec { + pname = "qogir-theme"; + version = "2018-11-12"; + + src = fetchFromGitHub { + owner = "vinceliuice"; + repo = pname; + rev = version; + sha256 = "16hzgdl7d6jrd3gq0kmxad46gijc4hlxzy2rs3gqsfxqfj32nhqz"; + }; + + buildInputs = [ gdk_pixbuf librsvg ]; + + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; + + installPhase = '' + patchShebangs . + mkdir -p $out/share/themes + name= ./Install -d $out/share/themes + ''; + + meta = with stdenv.lib; { + description = "A flat Design theme for GTK based desktop environments"; + homepage = https://vinceliuice.github.io/Qogir-theme; + license = licenses.gpl3; + platforms = platforms.unix; + maintainers = [ maintainers.romildo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4a5192f900df..d0ccf05902d1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15731,6 +15731,8 @@ in proggyfonts = callPackage ../data/fonts/proggyfonts { }; + qogir-theme = callPackage ../data/themes/qogir { }; + route159 = callPackage ../data/fonts/route159 { }; sampradaya = callPackage ../data/fonts/sampradaya { };