nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, gtk-engine-murrine }:
2
3stdenv.mkDerivation rec {
4 pname = "theme-jade1";
5 version = "1.15";
6
7 src = fetchurl {
8 url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
9 sha256 = "sha256-VfV3dVpA3P0ChRjpxuh6C9loxr5t3s1xK0BP3DOCeQ4=";
10 };
11
12 sourceRoot = ".";
13
14 propagatedUserEnvPkgs = [ gtk-engine-murrine ];
15
16 installPhase = ''
17 runHook preInstall
18 mkdir -p $out/share/themes
19 cp -a Jade* $out/share/themes
20 runHook postInstall
21 '';
22
23 meta = with lib; {
24 description = "Based on Linux Mint theme with dark menus and more intensive green";
25 homepage = "https://github.com/madmaxms/theme-jade-1";
26 license = with licenses; [ gpl3Only ];
27 platforms = platforms.linux;
28 maintainers = [ maintainers.romildo ];
29 };
30}