mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
31 lines
779 B
Nix
31 lines
779 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
openssl,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pg_background";
|
|
version = "2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vibhorkum";
|
|
repo = "pg_background";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-aFr/3FG2W+yER3agtycznobvVKH0XdylPWs8uCyr3H4=";
|
|
};
|
|
|
|
buildInputs = postgresql.buildInputs;
|
|
|
|
meta = {
|
|
description = "Run PostgreSQL Commands in Background Workers";
|
|
homepage = "https://github.com/vibhorkum/pg_background";
|
|
changelog = "https://github.com/vibhorkum/pg_background/releases/tag/v${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [ mkleczek ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.gpl3Only;
|
|
};
|
|
})
|