nixpkgs/pkgs/data/themes/obsidian2/default.nix
2020-05-10 16:03:14 -03:00

31 lines
783 B
Nix

{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
version = "2.12";
src = fetchFromGitHub {
owner = "madmaxms";
repo = "theme-obsidian-2";
rev = "v${version}";
sha256 = "1srl6wm6fjdc5pi9fjl5nghn4q40hn5jcxxl8qjvz8lkczylynnb";
};
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 ];
};
}