2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "theme-obsidian2";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.21";
|
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";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-ptiJeb4ebfnH6HpTN1NsPAYbkLlPcZtn2aBKO0zW2Tw=";
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|