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";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "2.18";
|
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";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1w3grlkws4ih7333hys33z4bgm33jbc78bq2pyp8nzw4q9d2hz2r";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|