mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
29 lines
710 B
Nix
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 ];
|
|
};
|
|
}
|