3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/themes/obsidian2/default.nix

31 lines
827 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gtk-engine-murrine }:
2018-05-03 19:19:54 +01:00
stdenv.mkDerivation rec {
pname = "theme-obsidian2";
2020-12-04 21:57:45 +00:00
version = "2.17";
2018-05-03 19:19:54 +01:00
src = fetchurl {
url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz";
2020-12-04 21:57:45 +00:00
sha256 = "1gff34xqypqjhh15lv4cc4ifsg07jx2znlsj9is4wmqf39a8h8n4";
2018-05-03 19:19:54 +01:00
};
sourceRoot = ".";
2018-05-03 19:19:54 +01:00
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
2018-05-03 19:19:54 +01:00
mkdir -p $out/share/themes
cp -a Obsidian-2* $out/share/themes
runHook postInstall
2018-05-03 19:19:54 +01:00
'';
meta = with stdenv.lib; {
description = "Gnome theme, based upon Adwaita-Maia dark skin";
2020-04-02 22:33:59 +01:00
homepage = "https://github.com/madmaxms/theme-obsidian-2";
2020-09-04 17:40:18 +01:00
license = with licenses; [ gpl3Only ];
2018-05-03 19:19:54 +01:00
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}