nixpkgs/pkgs/data/themes/obsidian2/default.nix

31 lines
780 B
Nix
Raw Normal View History

2018-05-03 19:19:54 +01:00
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
version = "2.9";
2018-05-03 19:19:54 +01:00
src = fetchFromGitHub {
owner = "madmaxms";
repo = "theme-obsidian-2";
rev = "v${version}";
sha256 = "1m89ws2a4nms4m8187d5cxi281b66i59xa5shlp3g1r2jc4312cy";
2018-05-03 19:19:54 +01:00
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
2018-05-03 19:19:54 +01:00
mkdir -p $out/share/themes
cp -a Obsidian-2 $out/share/themes
runHook postInstall
2018-05-03 19:19:54 +01:00
'';
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 ];
};
}