depot/third_party/nixpkgs/pkgs/servers/icingaweb2/theme-april/default.nix

30 lines
625 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "icingaweb2-theme-april";
version = "1.0.4";
src = fetchFromGitHub {
owner = "Mikesch-mp";
repo = pname;
rev = "v${version}";
sha256 = "0i1js2k47llzgmc77q9frvcmr02mqlhg0qhswx1486fvm6myxg0g";
};
installPhase = ''
mkdir -p "$out"
cp -r * "$out"
'';
meta = with lib; {
description = "Icingaweb2 theme for april fools";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-april";
license = licenses.publicDomain;
platforms = platforms.all;
maintainers = with maintainers; [ das_j ];
};
}