nixpkgs/pkgs/servers/icingaweb2/ipl.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
690 B
Nix
Raw Normal View History

{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
2021-07-13 16:21:44 +00:00
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-ipl";
2024-04-11 13:05:44 +00:00
version = "0.13.2";
2021-07-13 16:21:44 +00:00
src = fetchFromGitHub {
owner = "Icinga";
repo = "icinga-php-library";
rev = "v${version}";
2024-04-11 13:05:44 +00:00
hash = "sha256-b0y3EKcYWt3cH79HvHnpiHt18ZbRf9lEsfKTZO0dHME=";
2021-07-13 16:21:44 +00:00
};
installPhase = ''
mkdir -p "$out"
cp -r * "$out"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
2021-07-13 16:21:44 +00:00
meta = {
description = "PHP library package for Icingaweb 2";
homepage = "https://github.com/Icinga/icinga-php-library";
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ das_j ];
};
}