nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, gtk-engine-murrine }:
2
3stdenv.mkDerivation rec {
4 pname = "juno";
5 version = "0.0.1";
6
7 srcs = [
8 (fetchurl {
9 url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno.tar.xz";
10 sha256 = "1cghsn9qagcf1nlga5cal0aqch6hkjm5wk6ja791zxhdqy3crx1i";
11 })
12 (fetchurl {
13 url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-mirage.tar.xz";
14 sha256 = "0zh6bc85svmwh8qrhpn8mim0pj322x2x2i9sxnp7p1938p5z5m2b";
15 })
16 (fetchurl {
17 url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-ocean.tar.xz";
18 sha256 = "0m2wgmcn12dfq5badzlpzjc8792ba9hi32c79vfvqawdn1q3hrdx";
19 })
20 (fetchurl {
21 url = "https://github.com/gvolpe/Juno/releases/download/${version}/Juno-palenight.tar.xz";
22 sha256 = "1hn2l0m76x61ixjd253hi7czm65asdjdhqvvlv7idbccc40pvrak";
23 })
24 ];
25
26 sourceRoot = ".";
27
28 propagatedUserEnvPkgs = [ gtk-engine-murrine ];
29
30 installPhase = ''
31 runHook preInstall
32 mkdir -p $out/share/themes
33 cp -a Juno* $out/share/themes
34 rm $out/share/themes/*/{LICENSE,README.md}
35 runHook postInstall
36 '';
37
38 meta = with lib; {
39 description = "GTK themes inspired by epic vscode themes";
40 homepage = "https://github.com/EliverLara/Juno";
41 license = licenses.gpl3Only;
42 platforms = platforms.all;
43 maintainers = [ maintainers.gvolpe ];
44 };
45}