mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
86e1452556
* 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
31 lines
780 B
Nix
31 lines
780 B
Nix
{ 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 ];
|
|
};
|
|
}
|