26 stdenv.mkDerivation rec {
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-VYFAy6VVASNOBLs39qukePYr5pV0IR1qjztv+veNCVc=";
38 substituteInPlace CMakeLists.txt --replace-fail "-Werror" ""
66 cmakeFlags = [ "-DGVM_RUN_DIR=${placeholder "out"}/run/gvm" ];
68 # causes redefinition of _FORTIFY_SOURCE
69 hardeningDisable = [ "fortify3" ];
72 description = "Libraries module for the Greenbone Vulnerability Management Solution";
73 homepage = "https://github.com/greenbone/gvm-libs";
74 changelog = "https://github.com/greenbone/gvm-libs/releases/tag/v${version}";
75 license = with licenses; [ gpl2Plus ];
76 maintainers = with maintainers; [ fab ];
77 platforms = platforms.linux;