mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
29 lines
777 B
Nix
29 lines
777 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pg_partman";
|
|
version = "5.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgpartman";
|
|
repo = "pg_partman";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-hcss99fhb78GSq1+ZngoU8A5NPD1kSndE+4scXVya6c=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Partition management extension for PostgreSQL";
|
|
homepage = "https://github.com/pgpartman/pg_partman";
|
|
changelog = "https://github.com/pgpartman/pg_partman/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
maintainers = with lib.maintainers; [ ggpeti ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.postgresql;
|
|
broken = lib.versionOlder postgresql.version "14";
|
|
};
|
|
})
|