mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
32 lines
779 B
Nix
32 lines
779 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pgmq";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tembo-io";
|
|
repo = "pgmq";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-iPls5ABcpYUXd/Lqk0U8GFzM4iq0lqMbJO4v4z27tNI=";
|
|
};
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/pgmq-extension";
|
|
|
|
dontConfigure = true;
|
|
|
|
meta = {
|
|
description = "Lightweight message queue like AWS SQS and RSMQ but on Postgres";
|
|
homepage = "https://tembo.io/pgmq";
|
|
changelog = "https://github.com/tembo-io/pgmq/releases/tag/v${finalAttrs.version}";
|
|
maintainers = with lib.maintainers; [ takeda ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.postgresql;
|
|
};
|
|
})
|