nixpkgs/pkgs/servers/icingaweb2/thirdparty.nix
2024-08-18 00:29:43 +02:00

29 lines
710 B
Nix

{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-thirdparty";
version = "0.12.1";
src = fetchFromGitHub {
owner = "Icinga";
repo = "icinga-php-thirdparty";
rev = "v${version}";
sha256 = "sha256-T67DcsHVf3yDQveNtSPqLoOOPuT4ThkUSCJ9aCSVaIc=";
};
installPhase = ''
mkdir -p "$out"
cp -r * "$out"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
meta = {
description = "Third party dependencies for Icingaweb 2";
homepage = "https://github.com/Icinga/icinga-php-thirdparty";
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ das_j ];
};
}