depot/pkgs/servers/icingaweb2/thirdparty.nix

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

29 lines
713 B
Nix
Raw Normal View History

{ 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;
};
}