diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-08-26 12:11:52 -0300 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-08-26 23:11:52 +0800 |
commit | 86e1452556e811619b0762fdaa9e3006453fe07d (patch) | |
tree | e6f4554c56ba328c8710a0bcddeae17e1939b38b /pkgs/data/themes/obsidian2 | |
parent | da1ff985aef12591772074f8e80698f36225c616 (diff) |
theme-obsidian2: 2.8 -> 2.9 (#67501)
* theme-obsidian2: 2.8 -> 2.9 * theme-obsidian2: move to pkgs/data * theme-obsidian2: use pname * theme-obsidian2: run hooks preInstall and postInstall in install phase
Diffstat (limited to 'pkgs/data/themes/obsidian2')
-rw-r--r-- | pkgs/data/themes/obsidian2/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/data/themes/obsidian2/default.nix b/pkgs/data/themes/obsidian2/default.nix new file mode 100644 index 0000000000000..3a2dcea4b3a5e --- /dev/null +++ b/pkgs/data/themes/obsidian2/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, gtk-engine-murrine }: + +stdenv.mkDerivation rec { + pname = "theme-obsidian2"; + version = "2.9"; + + src = fetchFromGitHub { + owner = "madmaxms"; + repo = "theme-obsidian-2"; + rev = "v${version}"; + sha256 = "1m89ws2a4nms4m8187d5cxi281b66i59xa5shlp3g1r2jc4312cy"; + }; + + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/themes + cp -a Obsidian-2 $out/share/themes + runHook postInstall + ''; + + meta = with stdenv.lib; { + description = "Gnome theme, based upon Adwaita-Maia dark skin"; + homepage = https://github.com/madmaxms/theme-obsidian-2; + license = with licenses; [ gpl3 ]; + platforms = platforms.linux; + maintainers = [ maintainers.romildo ]; + }; +} |