nixpkgs/pkgs/development/libraries/gvm-libs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.3 KiB
Nix
Raw Normal View History

2024-04-13 11:23:50 +02:00
{
lib,
stdenv,
cmake,
doxygen,
fetchFromGitHub,
glib,
glib-networking,
gnutls,
gpgme,
hiredis,
libgcrypt,
libnet,
libpcap,
libssh,
libuuid,
libxcrypt,
libxml2,
openldap,
paho-mqtt-c,
pkg-config,
radcli,
zlib,
2021-09-08 23:36:28 +02:00
}:
stdenv.mkDerivation rec {
pname = "gvm-libs";
2024-01-11 20:29:27 +01:00
version = "22.8.0";
2021-09-08 23:36:28 +02:00
src = fetchFromGitHub {
owner = "greenbone";
2024-04-13 11:23:50 +02:00
repo = "gvm-libs";
2023-03-06 01:09:38 +01:00
rev = "refs/tags/v${version}";
2024-01-11 20:29:27 +01:00
hash = "sha256-nFqYpt9OWEPgSbaNsHLhs9mg7ChQcmfcgHh7nFfQh18=";
2021-09-08 23:36:28 +02:00
};
nativeBuildInputs = [
cmake
doxygen
2021-09-08 23:36:28 +02:00
pkg-config
];
buildInputs = [
glib
glib-networking
gnutls
gpgme
hiredis
libgcrypt
libnet
libpcap
libssh
libuuid
2022-09-30 02:43:07 +02:00
libxcrypt
2021-09-08 23:36:28 +02:00
libxml2
2024-04-13 11:23:50 +02:00
openldap
paho-mqtt-c
2024-04-13 11:23:50 +02:00
radcli
2021-09-08 23:36:28 +02:00
zlib
];
2024-04-13 11:23:50 +02:00
cmakeFlags = [ "-DGVM_RUN_DIR=${placeholder "out"}/run/gvm" ];
2021-12-31 23:50:25 +01:00
# causes redefinition of _FORTIFY_SOURCE
hardeningDisable = [ "fortify3" ];
2021-09-08 23:36:28 +02:00
meta = with lib; {
description = "Libraries module for the Greenbone Vulnerability Management Solution";
homepage = "https://github.com/greenbone/gvm-libs";
2023-03-06 01:09:38 +01:00
changelog = "https://github.com/greenbone/gvm-libs/releases/tag/v${version}";
2021-09-08 23:36:28 +02:00
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}