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

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

65 lines
1,017 B
Nix
Raw Normal View History

2021-09-08 23:36:28 +02:00
{ 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";
2022-02-22 07:58:03 +01:00
version = "21.4.4";
2021-09-08 23:36:28 +02:00
src = fetchFromGitHub {
owner = "greenbone";
repo = pname;
rev = "v${version}";
2022-02-22 07:58:03 +01:00
sha256 = "sha256-Ps8J9JuLKcrowl9wgZ3Wm7JTXyiejQPDr4OV/IvDy+I=";
2021-09-08 23:36:28 +02:00
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
glib
glib-networking
gnutls
gpgme
hiredis
libgcrypt
freeradius
libnet
libpcap
libssh
libuuid
libxml2
zlib
];
2021-12-31 23:50:25 +01:00
cmakeFlags = [
"-DGVM_RUN_DIR=$out/run/gvm"
];
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";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}