2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "theme-obsidian2";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
|
|
|
|
sha256 = "0q713s6fwdvbiirzkm91y9xdpc7x7ay432km0fx90vn4s24p718y";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
sourceRoot = ".";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/themes
|
2020-09-25 04:45:31 +00:00
|
|
|
cp -a Obsidian-2* $out/share/themes
|
2020-04-24 23:36:52 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Gnome theme, based upon Adwaita-Maia dark skin";
|
|
|
|
homepage = "https://github.com/madmaxms/theme-obsidian-2";
|
2020-09-25 04:45:31 +00:00
|
|
|
license = with licenses; [ gpl3Only ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|