Files
nixpkgs/pkgs/servers/sql/postgresql/ext/pg_csv.nix
2025-09-14 11:21:22 +00:00

28 lines
691 B
Nix

{
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pg_csv";
version = "1.0.1";
src = fetchFromGitHub {
owner = "PostgREST";
repo = "pg_csv";
tag = "v${finalAttrs.version}";
hash = "sha256-hRTNFlNUmc3mjDf0wgn4CGmHoYPQ+2yfZApzooLwgW4=";
};
meta = {
description = "Flexible CSV processing for Postgres";
homepage = "https://github.com/PostgREST/pg_csv";
changelog = "https://github.com/PostgREST/pg_csv/releases/tag/v${finalAttrs.version}";
maintainers = with lib.maintainers; [ steve-chavez ];
platforms = postgresql.meta.platforms;
license = lib.licenses.mit;
};
})