1{
2 cmake,
3 fetchFromGitHub,
4 glib,
5 gvm-libs,
6 icu,
7 lib,
8 libical,
9 pcre2,
10 pkg-config,
11 postgresql,
12 postgresqlBuildExtension,
13}:
14
15postgresqlBuildExtension (finalAttrs: {
16 pname = "pg-gvm";
17 version = "22.6.11";
18
19 src = fetchFromGitHub {
20 owner = "greenbone";
21 repo = "pg-gvm";
22 tag = "v${finalAttrs.version}";
23 hash = "sha256-jkpZg1LMWuH5R4I/kTO3cofL3uNt11yXSgfFppSNC+o=";
24 };
25
26 nativeBuildInputs = [
27 cmake
28 pkg-config
29 ];
30
31 buildInputs = [
32 glib
33 gvm-libs
34 icu
35 libical
36 pcre2
37 ];
38
39 meta = {
40 description = "Greenbone Library for helper functions in PostgreSQL";
41 homepage = "https://github.com/greenbone/pg-gvm";
42 changelog = "https://github.com/greenbone/pg-gvm/releases/tag/v${finalAttrs.version}";
43 license = lib.licenses.gpl3Only;
44 maintainers = with lib.maintainers; [ tochiaha ];
45 platforms = postgresql.meta.platforms;
46 };
47})