From b08ef823649b4f1ee5c45b6eccfdf736a9c20a9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= Date: Thu, 1 Oct 2020 13:54:20 -0300 Subject: [PATCH] skeu: init at 0.5.1 --- pkgs/data/themes/skeu/default.nix | 46 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 48 insertions(+) create mode 100644 pkgs/data/themes/skeu/default.nix diff --git a/pkgs/data/themes/skeu/default.nix b/pkgs/data/themes/skeu/default.nix new file mode 100644 index 000000000000..1f2f869364ec --- /dev/null +++ b/pkgs/data/themes/skeu/default.nix @@ -0,0 +1,46 @@ +{ stdenv +, fetchFromGitHub +, gdk-pixbuf +, gtk-engine-murrine +, gtk_engines +, librsvg +}: + +stdenv.mkDerivation rec { + pname = "skeu"; + version = "0.5.1"; + + src = fetchFromGitHub { + owner = "darkomarko42"; + repo = pname; + rev = version; + sha256 = "0lbl09p0h493ya978fh7cib68qlmxfxahmbj0mpa3b65ynxda645"; + }; + + buildInputs = [ + gdk-pixbuf + gtk_engines + librsvg + ]; + + propagatedUserEnvPkgs = [ + gtk-engine-murrine + ]; + + dontBuild = true; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/themes + cp -a Skeu* $out/share/themes + runHook postInstall + ''; + + meta = with stdenv.lib; { + description = "GTK theme with skeuomorphism design"; + homepage = "https://www.pling.com/p/1363834/"; + license = licenses.gpl3Only; + platforms = platforms.unix; + maintainers = [ maintainers.romildo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f3b4ebdcb940..8f41c7f90996 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19303,6 +19303,8 @@ in shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { }; + skeu = callPackage ../data/themes/skeu { }; + sweet = callPackage ../data/themes/sweet { }; mime-types = callPackage ../data/misc/mime-types { };