1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_csv";
10 version = "1.0.1";
11
12 src = fetchFromGitHub {
13 owner = "PostgREST";
14 repo = "pg_csv";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-hRTNFlNUmc3mjDf0wgn4CGmHoYPQ+2yfZApzooLwgW4=";
17 };
18
19 meta = {
20 description = "Flexible CSV processing for Postgres";
21 homepage = "https://github.com/PostgREST/pg_csv";
22 changelog = "https://github.com/PostgREST/pg_csv/releases/tag/v${finalAttrs.version}";
23 maintainers = with lib.maintainers; [ steve-chavez ];
24 platforms = postgresql.meta.platforms;
25 license = lib.licenses.mit;
26 };
27})