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-particles";
9 version = "1.0.0";
10
11 src = fetchFromGitHub {
12 owner = "Mikesch-mp";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "0m6bbz191686k4djqbk8v0zcdm4cyi159jb3zwz7q295xbpi2vfy";
16 };
17
18 installPhase = ''
19 mkdir -p "$out"
20 cp -r * "$out"
21 '';
22
23 meta = {
24 description = "This theme adds a nice particle effect to the login screen of Icingaweb 2";
25 homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-particles";
26 license = lib.licenses.publicDomain;
27 platforms = lib.platforms.all;
28 maintainers = with lib.maintainers; [ das_j ];
29 };
30}