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

31 lines
783 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-05-10 21:03:14 +02:00
version = "2.12";
2018-05-03 20:19:54 +02:00
src = fetchFromGitHub {
owner = "madmaxms";
repo = "theme-obsidian-2";
rev = "v${version}";
2020-05-10 21:03:14 +02:00
sha256 = "1srl6wm6fjdc5pi9fjl5nghn4q40hn5jcxxl8qjvz8lkczylynnb";
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";
2020-04-02 23:33:59 +02:00
homepage = "https://github.com/madmaxms/theme-obsidian-2";
2018-05-03 20:19:54 +02:00
license = with licenses; [ gpl3 ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}