nixpkgs/pkgs/data/themes/jade1/default.nix

31 lines
824 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gtk-engine-murrine }:
2018-05-10 10:46:32 -07:00
stdenv.mkDerivation rec {
pname = "theme-jade1";
version = "1.9";
2018-05-10 10:46:32 -07:00
src = fetchurl {
url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
sha256 = "11fzd44ysy76iwyiwkshpf0vf6m3i3hcxyyihl0lg68nb3cv0g9y";
2018-05-10 10:46:32 -07:00
};
sourceRoot = ".";
2018-05-10 10:46:32 -07:00
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
2018-05-10 10:46:32 -07:00
mkdir -p $out/share/themes
2020-02-03 02:21:07 -08:00
cp -a Jade* $out/share/themes
runHook postInstall
2018-05-10 10:46:32 -07:00
'';
meta = with stdenv.lib; {
2020-03-28 15:23:28 -07:00
description = "Based on Linux Mint theme with dark menus and more intensive green";
2020-02-03 02:21:07 -08:00
homepage = "https://github.com/madmaxms/theme-jade-1";
license = with licenses; [ gpl3Only ];
2018-05-10 10:46:32 -07:00
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}