1{
2 stdenvNoCC,
3 lib,
4 fetchFromGitHub,
5 nixosTests,
6}:
7
8stdenvNoCC.mkDerivation rec {
9 pname = "icingaweb2-thirdparty";
10 version = "0.13.0";
11
12 src = fetchFromGitHub {
13 owner = "Icinga";
14 repo = "icinga-php-thirdparty";
15 rev = "v${version}";
16 sha256 = "sha256-MaUXhlMxNmaTDMRw5LPcQIU/0Sht05MOhJM+GqFD8Pc=";
17 };
18
19 installPhase = ''
20 mkdir -p "$out"
21 cp -r * "$out"
22 '';
23
24 passthru.tests = { inherit (nixosTests) icingaweb2; };
25
26 meta = {
27 description = "Third party dependencies for Icingaweb 2";
28 homepage = "https://github.com/Icinga/icinga-php-thirdparty";
29 license = lib.licenses.mit;
30 platforms = lib.platforms.all;
31 teams = [ lib.teams.helsinki-systems ];
32 };
33}