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