mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
28 lines
749 B
Nix
28 lines
749 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pg-safeupdate";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "eradman";
|
|
repo = "pg-safeupdate";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-V1P6gdFHwAFd4g8CrSRdRrL1wKs3bFfin8LLDNhZcUI=";
|
|
};
|
|
|
|
meta = {
|
|
description = "Simple extension to PostgreSQL that requires criteria for UPDATE and DELETE";
|
|
homepage = "https://github.com/eradman/pg-safeupdate";
|
|
changelog = "https://github.com/eradman/pg-safeupdate/raw/${finalAttrs.version}/NEWS";
|
|
platforms = postgresql.meta.platforms;
|
|
maintainers = with lib.maintainers; [ wolfgangwalther ];
|
|
license = lib.licenses.postgresql;
|
|
};
|
|
})
|