mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
pgmq: init at 1.4.4 (#346486)
This commit is contained in:
commit
f0668c1c85
@ -20781,6 +20781,12 @@
|
||||
githubId = 18656090;
|
||||
name = "Yuki Takagi";
|
||||
};
|
||||
takeda = {
|
||||
name = "Derek Kuliński";
|
||||
email = "d@kulinski.us";
|
||||
github = "takeda";
|
||||
githubId = 411978;
|
||||
};
|
||||
taketwo = {
|
||||
email = "alexandrov88@gmail.com";
|
||||
github = "taketwo";
|
||||
|
@ -42,6 +42,8 @@ self: super: {
|
||||
|
||||
pgaudit = super.callPackage ./pgaudit.nix { };
|
||||
|
||||
pgmq = super.callPackage ./pgmq.nix { };
|
||||
|
||||
pgroonga = super.callPackage ./pgroonga.nix { };
|
||||
|
||||
pgsodium = super.callPackage ./pgsodium.nix { };
|
||||
|
42
pkgs/servers/sql/postgresql/ext/pgmq.nix
Normal file
42
pkgs/servers/sql/postgresql/ext/pgmq.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
postgresql,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pgmq";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tembo-io";
|
||||
repo = "pgmq";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-z+8/BqIlHwlMnuIzMz6eylmYbSmhtsNt7TJf/CxbdVw=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/pgmq-extension";
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildInputs = [ postgresql ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D -t $out/share/postgresql/extension sql/*.sql
|
||||
install -D -t $out/share/postgresql/extension *.control
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
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${version}";
|
||||
maintainers = with lib.maintainers; [ takeda ];
|
||||
platforms = postgresql.meta.platforms;
|
||||
license = lib.licenses.postgresql;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user