48 lines
911 B
Nix
48 lines
911 B
Nix
{
|
|
cmake,
|
|
fetchFromGitHub,
|
|
glib,
|
|
gvm-libs,
|
|
icu,
|
|
lib,
|
|
libical,
|
|
pcre2,
|
|
pkg-config,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pg-gvm";
|
|
version = "22.6.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "greenbone";
|
|
repo = "pg-gvm";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-jkpZg1LMWuH5R4I/kTO3cofL3uNt11yXSgfFppSNC+o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gvm-libs
|
|
icu
|
|
libical
|
|
pcre2
|
|
];
|
|
|
|
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${finalAttrs.version}";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ tochiaha ];
|
|
platforms = postgresql.meta.platforms;
|
|
};
|
|
})
|