nixpkgs/pkgs/data/themes/jade1/default.nix
2021-10-14 22:34:48 -03:00

31 lines
823 B
Nix

{ lib, stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "theme-jade1";
version = "1.14";
src = fetchurl {
url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
sha256 = "01p1g0gy6d1c8aa9y7inhn6zhm0qy0fzmwlniiv07h15g32appvd";
};
sourceRoot = ".";
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes
cp -a Jade* $out/share/themes
runHook postInstall
'';
meta = with lib; {
description = "Based on Linux Mint theme with dark menus and more intensive green";
homepage = "https://github.com/madmaxms/theme-jade-1";
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}