29 lines
713 B
Nix
29 lines
713 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 = lib.teams.helsinki-systems.members;
|
||
|
};
|
||
|
}
|