2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
2018-05-03 19:19:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-26 16:11:52 +01:00
|
|
|
pname = "theme-obsidian2";
|
2021-01-24 18:37:20 +00:00
|
|
|
version = "2.18";
|
2018-05-03 19:19:54 +01:00
|
|
|
|
2020-09-04 17:55:48 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
|
2021-01-24 18:37:20 +00:00
|
|
|
sha256 = "1w3grlkws4ih7333hys33z4bgm33jbc78bq2pyp8nzw4q9d2hz2r";
|
2018-05-03 19:19:54 +01:00
|
|
|
};
|
|
|
|
|
2020-09-04 17:55:48 +01:00
|
|
|
sourceRoot = ".";
|
|
|
|
|
2018-05-03 19:19:54 +01:00
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2019-08-26 16:11:52 +01:00
|
|
|
runHook preInstall
|
2018-05-03 19:19:54 +01:00
|
|
|
mkdir -p $out/share/themes
|
2020-09-04 17:55:48 +01:00
|
|
|
cp -a Obsidian-2* $out/share/themes
|
2019-08-26 16:11:52 +01:00
|
|
|
runHook postInstall
|
2018-05-03 19:19:54 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-05-03 19:19:54 +01:00
|
|
|
description = "Gnome theme, based upon Adwaita-Maia dark skin";
|
2020-04-02 22:33:59 +01:00
|
|
|
homepage = "https://github.com/madmaxms/theme-obsidian-2";
|
2020-09-04 17:40:18 +01:00
|
|
|
license = with licenses; [ gpl3Only ];
|
2018-05-03 19:19:54 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|