diff --git a/pkgs/development/libraries/gvm-libs/default.nix b/pkgs/development/libraries/gvm-libs/default.nix new file mode 100644 index 000000000000..7e02aaa2bbb3 --- /dev/null +++ b/pkgs/development/libraries/gvm-libs/default.nix @@ -0,0 +1,60 @@ +{ 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 122658d0848d..8b1c79ac8936 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16086,6 +16086,8 @@ with pkgs; gvfs = callPackage ../development/libraries/gvfs { }; + gvm-libs = callPackage ../development/libraries/gvm-libs { }; + gwenhywfar = callPackage ../development/libraries/aqbanking/gwenhywfar.nix { }; hamlib = hamlib_3;