Merge pull request #329501 from Tochiaha/pg-gvm

pg-gvm: init at 22.6.5
This commit is contained in:
❄️ 2024-07-23 18:50:05 -03:00 committed by GitHub
commit d42f9ebf3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,60 @@
{
cmake,
fetchFromGitHub,
glib,
gvm-libs,
icu,
lib,
libical,
pcre2,
pkg-config,
postgresql,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "pg-gvm";
version = "22.6.5";
src = fetchFromGitHub {
owner = "greenbone";
repo = "pg-gvm";
rev = "refs/tags/v${version}";
hash = "sha256-19ZmQdLjfwJwOMoO16rKJYKOnRyt7SQOdkYTxt8WQ2A=";
};
strictDeps = true;
configurePhase = ''
runHook preConfigure
cmake \
-DCMAKE_INSTALL_DEV_PREFIX=$out .
runHook postConfigure
'';
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
glib
gvm-libs
icu
libical
pcre2
postgresql
];
meta = {
description = "Greenbone Library for helper functions in PostgreSQL";
homepage = "https://github.com/greenbone/pg-gvm";
changelog = "https://github.com/greenbone/pg-gvm/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ tochiaha ];
mainProgram = "pg-gvm";
platforms = lib.platforms.all;
};
}