at 24.11-pre 75 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 cmake, 5 doxygen, 6 fetchFromGitHub, 7 glib, 8 glib-networking, 9 gnutls, 10 gpgme, 11 hiredis, 12 libgcrypt, 13 libnet, 14 libpcap, 15 libssh, 16 libuuid, 17 libxcrypt, 18 libxml2, 19 openldap, 20 paho-mqtt-c, 21 pkg-config, 22 radcli, 23 zlib, 24}: 25 26stdenv.mkDerivation rec { 27 pname = "gvm-libs"; 28 version = "22.8.0"; 29 30 src = fetchFromGitHub { 31 owner = "greenbone"; 32 repo = "gvm-libs"; 33 rev = "refs/tags/v${version}"; 34 hash = "sha256-nFqYpt9OWEPgSbaNsHLhs9mg7ChQcmfcgHh7nFfQh18="; 35 }; 36 37 nativeBuildInputs = [ 38 cmake 39 doxygen 40 pkg-config 41 ]; 42 43 buildInputs = [ 44 glib 45 glib-networking 46 gnutls 47 gpgme 48 hiredis 49 libgcrypt 50 libnet 51 libpcap 52 libssh 53 libuuid 54 libxcrypt 55 libxml2 56 openldap 57 paho-mqtt-c 58 radcli 59 zlib 60 ]; 61 62 cmakeFlags = [ "-DGVM_RUN_DIR=${placeholder "out"}/run/gvm" ]; 63 64 # causes redefinition of _FORTIFY_SOURCE 65 hardeningDisable = [ "fortify3" ]; 66 67 meta = with lib; { 68 description = "Libraries module for the Greenbone Vulnerability Management Solution"; 69 homepage = "https://github.com/greenbone/gvm-libs"; 70 changelog = "https://github.com/greenbone/gvm-libs/releases/tag/v${version}"; 71 license = with licenses; [ gpl2Plus ]; 72 maintainers = with maintainers; [ fab ]; 73 platforms = platforms.linux; 74 }; 75}