nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "icingaweb2-theme-lsd";
9 version = "1.0.3";
10
11 src = fetchFromGitHub {
12 owner = "Mikesch-mp";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "172y08sar4nbyv5pfq5chw8xa3b7fg1dacmsg778zky5zf49qz2w";
16 };
17
18 installPhase = ''
19 mkdir -p "$out"
20 cp -r * "$out"
21 '';
22
23 meta = {
24 description = "Psychadelic theme for IcingaWeb 2";
25 homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-lsd";
26 license = lib.licenses.publicDomain;
27 platforms = lib.platforms.all;
28 maintainers = with lib.maintainers; [ das_j ];
29 };
30}