2024-09-17 20:55:33 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
postgresql,
|
|
|
|
buildPostgresqlExtension,
|
|
|
|
}:
|
2022-04-14 18:57:30 +01:00
|
|
|
|
2024-09-17 20:55:33 +01:00
|
|
|
buildPostgresqlExtension rec {
|
2022-04-14 18:57:30 +01:00
|
|
|
pname = "jsonb_deep_sum";
|
2024-11-15 20:44:56 +00:00
|
|
|
version = "0-unstable-2021-12-24";
|
2022-04-14 18:57:30 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "furstenheim";
|
|
|
|
repo = "jsonb_deep_sum";
|
|
|
|
rev = "d9c69aa6b7da860e5522a9426467e67cb787980c";
|
|
|
|
sha256 = "sha256-W1wNILAwTAjFPezq+grdRMA59KEnMZDz69n9xQUqdc0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "PostgreSQL extension to easily add jsonb numeric";
|
|
|
|
homepage = "https://github.com/furstenheim/jsonb_deep_sum";
|
|
|
|
maintainers = with maintainers; [ _1000101 ];
|
|
|
|
platforms = postgresql.meta.platforms;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|