mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
26 lines
620 B
Nix
26 lines
620 B
Nix
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "icingaweb2-ipl";
|
|
version = "0.13.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Icinga";
|
|
repo = "icinga-php-library";
|
|
rev = "v${version}";
|
|
hash = "sha256-b0y3EKcYWt3cH79HvHnpiHt18ZbRf9lEsfKTZO0dHME=";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"
|
|
cp -r * "$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "PHP library package for Icingaweb 2";
|
|
homepage = "https://github.com/Icinga/icinga-php-library";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.all;
|
|
maintainers = with lib.maintainers; [ das_j ];
|
|
};
|
|
}
|