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

31 lines
781 B
Nix
Raw Normal View History

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