mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, cmake
|
|
, doxygen
|
|
, fetchFromGitHub
|
|
, glib
|
|
, glib-networking
|
|
, gnutls
|
|
, gpgme
|
|
, hiredis
|
|
, libgcrypt
|
|
, libnet
|
|
, libpcap
|
|
, libssh
|
|
, libuuid
|
|
, libxcrypt
|
|
, libxml2
|
|
, paho-mqtt-c
|
|
, pkg-config
|
|
, zlib
|
|
, freeradius
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gvm-libs";
|
|
version = "22.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "greenbone";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-dnR562qsDoW8Xb4TNrpcn66tn9iVmcmTaBxMbb+CX64=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
doxygen
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
glib-networking
|
|
gnutls
|
|
gpgme
|
|
hiredis
|
|
libgcrypt
|
|
freeradius
|
|
libnet
|
|
libpcap
|
|
libssh
|
|
libuuid
|
|
libxcrypt
|
|
libxml2
|
|
paho-mqtt-c
|
|
zlib
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DGVM_RUN_DIR=${placeholder "out"}/run/gvm"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Libraries module for the Greenbone Vulnerability Management Solution";
|
|
homepage = "https://github.com/greenbone/gvm-libs";
|
|
changelog = "https://github.com/greenbone/gvm-libs/releases/tag/v${version}";
|
|
license = with licenses; [ gpl2Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|