depot/third_party/nixpkgs/pkgs/development/libraries/gvm-libs/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

66 lines
1 KiB
Nix

{ lib
, stdenv
, cmake
, fetchFromGitHub
, glib
, glib-networking
, gnutls
, gpgme
, hiredis
, libgcrypt
, libnet
, libpcap
, libssh
, libuuid
, libxcrypt
, libxml2
, pkg-config
, zlib
, freeradius
}:
stdenv.mkDerivation rec {
pname = "gvm-libs";
version = "21.4.4";
src = fetchFromGitHub {
owner = "greenbone";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Ps8J9JuLKcrowl9wgZ3Wm7JTXyiejQPDr4OV/IvDy+I=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
glib
glib-networking
gnutls
gpgme
hiredis
libgcrypt
freeradius
libnet
libpcap
libssh
libuuid
libxcrypt
libxml2
zlib
];
cmakeFlags = [
"-DGVM_RUN_DIR=$out/run/gvm"
];
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;
};
}