1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/misc/themes/obsidian2/default.nix

33 lines
837 B
Nix
Raw Normal View History

2018-05-03 19:19:54 +01:00
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "theme-obsidian2-${version}";
2018-10-01 13:52:06 +01:00
version = "2.6";
2018-05-03 19:19:54 +01:00
src = fetchFromGitHub {
owner = "madmaxms";
repo = "theme-obsidian-2";
rev = "v${version}";
2018-10-01 13:52:06 +01:00
sha256 = "1bb629y11j79h0rxi36iszki6m6l59iwlcraygr472gf44a2xp11";
2018-05-03 19:19:54 +01:00
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
postPatch = ''
sed -i -e 's|Obsidian-2-Local|Obsidian-2|' Obsidian-2/index.theme
'';
2018-05-03 19:19:54 +01:00
installPhase = ''
mkdir -p $out/share/themes
cp -a Obsidian-2 $out/share/themes
'';
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 ];
};
}