1{
2 fetchFromGitHub,
3 gitUpdater,
4 lib,
5 postgresql,
6 postgresqlBuildExtension,
7}:
8
9postgresqlBuildExtension (finalAttrs: {
10 pname = "hypopg";
11 version = "1.4.2";
12
13 src = fetchFromGitHub {
14 owner = "HypoPG";
15 repo = "hypopg";
16 tag = finalAttrs.version;
17 hash = "sha256-J1ltvNHB2v2I9IbYjM8w2mhXvBX31NkMasCL0O7bV8w=";
18 };
19
20 passthru = {
21 updateScript = gitUpdater {
22 ignoredVersions = "beta";
23 };
24 };
25
26 meta = {
27 description = "Hypothetical Indexes for PostgreSQL";
28 homepage = "https://hypopg.readthedocs.io";
29 changelog = "https://github.com/HypoPG/hypopg/releases/tag/${finalAttrs.version}";
30 license = lib.licenses.postgresql;
31 platforms = postgresql.meta.platforms;
32 maintainers = with lib.maintainers; [ bbigras ];
33 };
34})