2018-05-03 20:19:54 +02:00
|
|
|
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "theme-obsidian2-${version}";
|
2018-10-17 16:29:49 +02:00
|
|
|
version = "2.7";
|
2018-05-03 20:19:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "madmaxms";
|
|
|
|
repo = "theme-obsidian-2";
|
|
|
|
rev = "v${version}";
|
2018-10-17 16:29:49 +02:00
|
|
|
sha256 = "0my3q7xvi6m257x489wync0y5n8n1kig4xg5gfrb905avhxj5frs";
|
2018-05-03 20:19:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
2018-10-02 15:51:47 +02:00
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's|Obsidian-2-Local|Obsidian-2|' Obsidian-2/index.theme
|
|
|
|
'';
|
|
|
|
|
2018-05-03 20:19:54 +02:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/themes
|
|
|
|
cp -a Obsidian-2 $out/share/themes
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|