forked from mirrors/nixpkgs
61 lines
962 B
Nix
61 lines
962 B
Nix
|
{ 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";
|
||
|
version = "21.4.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "greenbone";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1ap3m7f1gyv9p96czi8mzryhjijgaqcbdyr8lwvnw8ynzskx8s3y";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|