32 stdenv.mkDerivation rec {
33 pname = "openvas-scanner";
36 src = fetchFromGitHub {
38 repo = "openvas-scanner";
40 hash = "sha256-LjZZYIA0Qkuheb8ZAPBuiy5GgjOgCfJ0D/YM03zTcW0=";
75 "-DGVM_RUN_DIR=$out/run/gvm"
76 "-DLOCALSTATEDIR=$out/var"
77 "-DSYSCONFDIR=$out/etc"
78 "-DOPENVAS_RUN_DIR=$out/run/ospd"
79 "-DOPENVAS_FEED_LOCK_PATH=$out/var/lib/openvas/feed-update.lock"
83 description = "Scanner component for Greenbone Community Edition";
84 homepage = "https://github.com/greenbone/openvas-scanner";
85 changelog = "https://github.com/greenbone/openvas-scanner/blob/${src.rev}/changelog.toml";
86 license = licenses.gpl2Only;
87 maintainers = with maintainers; [ fab ];
88 mainProgram = "openvas-scanner";
89 platforms = platforms.all;