2021-09-08 22:36:28 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, glib-networking
|
|
|
|
, gnutls
|
|
|
|
, gpgme
|
|
|
|
, hiredis
|
|
|
|
, libgcrypt
|
|
|
|
, libnet
|
|
|
|
, libpcap
|
|
|
|
, libssh
|
|
|
|
, libuuid
|
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, freeradius
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gvm-libs";
|
2021-09-12 20:54:58 +01:00
|
|
|
version = "21.4.2";
|
2021-09-08 22:36:28 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "greenbone";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-12 20:54:58 +01:00
|
|
|
sha256 = "14v7z8ynd20s4pkhp2nc19n6gbmbh8yrn39yi2fbfm7gj28b52sx";
|
2021-09-08 22:36:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gnutls
|
|
|
|
gpgme
|
|
|
|
hiredis
|
|
|
|
libgcrypt
|
|
|
|
freeradius
|
|
|
|
libnet
|
|
|
|
libpcap
|
|
|
|
libssh
|
|
|
|
libuuid
|
|
|
|
libxml2
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Libraries module for the Greenbone Vulnerability Management Solution";
|
|
|
|
homepage = "https://github.com/greenbone/gvm-libs";
|
|
|
|
license = with licenses; [ gpl2Plus ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|