Commit graph

41 commits

Author SHA1 Message Date
Luke Worth 330fff02a6 postgis: allow on Darwin
To get PostGIS going on Darwin:
1. Add libiconv, as is often required.
2. Expand platforms to `platforms.all`.
3. Deal with PostGIS' quirky build system.

PostGIS' configure.ac has the following gem:

  AC_MSG_RESULT([------------------------------------------------------------------------])
  AC_MSG_RESULT([  WARNING: You have set the --prefix to '$prefix'. But we mostly    ])
  AC_MSG_RESULT([  ignore the --prefix. For your info, using the values determined from ])
  AC_MSG_RESULT([  $PG_CONFIG we will be installing:   ])
  AC_MSG_RESULT([    * postgis shared library in $PGSQL_LIBDIR ])
  AC_MSG_RESULT([    * postgis SQL files in $PGSQL_SHAREDIR/contrib/postgis-$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION ])
  AC_MSG_RESULT([    * postgis executables in $PGSQL_BINDIR ])
  AC_MSG_RESULT([------------------------------------------------------------------------])

This is suggestive of some assumptions in the build system, which are
revealed when building in Nix on Darwin: the build fails because the
postgres binary cannot be found in the install prefix specified for
postgis; vis.

  cc x -bundle_loader $POSTGIS_PREFIX/bin/postgres

This bundle_loader parameter is only available on Darwin, and this
problem doesn't appear to affect Linux systems.

The solution presented here is to symlink the postgres binary where
PostGIS expects it to be, and then remove it after the build completes.
2019-07-27 19:00:46 +10:00
Danylo Hlynskyi e028c1a396
Merge pull request #65121 from marsam/update-pgroonga
postgresqlPackages.pgroonga: 2.2.0 -> 2.2.1
2019-07-23 22:31:39 +03:00
Mario Rodas bc20384b82
postgresqlPackages.timescaledb: 1.3.2 -> 1.4.0 2019-07-19 20:53:42 -05:00
Mario Rodas 031c6151dd
postgresqlPackages.pgroonga: 2.2.0 -> 2.2.1 2019-07-19 20:48:05 -05:00
Danylo Hlynskyi 475f1ebd98
Merge branch 'master' into postgresql-plugins-bin 2019-07-16 11:32:52 +03:00
Mario Rodas a94a497dbc
postgresqlPackages.plv8: 2.3.11 -> 2.3.12 2019-07-02 04:20:00 -05:00
Erlend Hamberg 80aadbec60
Install postgresql extensions under $out/share/postgresql
This fixes extensions after #62271 moved files from `$out/share` to
`$out/share/postgresql`.
2019-07-01 16:24:44 +02:00
Mario Rodas 333de5d0ff
postgresqlPackages.timescaledb: 1.3.1 -> 1.3.2 2019-06-24 18:33:35 -05:00
Mario Rodas 5bfbf44978
Merge pull request #63144 from marsam/timescaledb-disable-telemetry
timescaledb: disable telemetry
2019-06-17 22:36:03 -05:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Mario Rodas 6063569f0a
timescaledb: disable telemetry 2019-06-14 16:20:00 -05:00
Mario Rodas 7ec68bab29
postgresqlPackages.pg_bigm: init at 1.2 2019-06-11 20:30:00 -05:00
steve-chavez e1f3167d6d pg-safeupdate: init at 1.2
safeupdate is a simple extension to PostgreSQL that raises an error if
UPDATE and DELETE are executed without specifying conditions.
2019-06-11 12:19:27 -07:00
Peter Ferenczy 3830e5323e temporal_tables: init at 1.2.0 2019-06-11 09:06:26 -07:00
Mario Rodas 4c4afb3cb9 postgresqlPackages.timescaledb: 1.3.0 -> 1.3.1 2019-06-10 17:52:35 -07:00
Mario Rodas 87d266fe93
postgresqlPackages.pgroonga: 2.1.9 -> 2.2.0 2019-06-06 20:20:33 -05:00
Mario Rodas e3156c8595
postgresqlPackages.pg_auto_failover: init at 1.0.2 2019-05-24 04:20:00 -05:00
Mario Rodas 60277c7d5e
Merge pull request #58441 from marsam/init-postgresql-pipelinedb
postgresqlPackages.pipelinedb: init at 1.0.0-13
2019-05-18 13:20:09 -05:00
Peter Ferenczy d6d94878ea pg_partman: init at 4.1.0 2019-05-14 18:37:34 +02:00
Renaud 2fe5e5ba71
Merge pull request #60556 from r-ryantm/auto-update/groonga
groonga: 8.1.1 -> 9.0.2
2019-05-10 21:21:48 +02:00
Renaud 655006c23e
postgresqlPackages.pgroonga: 2.1.8 -> 2.1.9
Changelog: https://pgroonga.github.io/news/#version-2-1-9
2019-05-10 20:12:22 +02:00
Mario Rodas 5a9983a76e
postgresqlPackages.timescaledb: 1.2.2 -> 1.3.0 2019-05-07 00:02:25 -05:00
Mario Rodas 12ee718d19
postgresqlPackages: enable on platforms where PostgreSQL is supported 2019-05-06 06:00:00 -05:00
Bas van Dijk 517c52ec2e
postgresql: always create the $out/bin directory
This is needed because some PostgreSQL plugins don't have a bin
directory. If only these plugins are listed in cfg.extraPlugins buildEnv
will turn $out/bin into a symbolic link to ${pg}/bin. Lateron we try to
rm $out/bin/{pg_config,postgres,pg_ctl} which will then fail because
$out/bin will be read-only.
2019-05-04 14:11:52 -05:00
Mario Rodas e89fc19b97
Merge pull request #58368 from marsam/update-timescaledb
timescaledb: 1.0.0 -> 1.2.2, timescaledb-parallel-copy: 2018-05-14 -> 0.2.0, timescaledb-tune: init at 0.5.0
2019-04-24 20:42:30 -05:00
Renaud 1154f7fe25
Merge pull request #58607 from marsam/update-plv8
postgresqlPackages.plv8: 2.3.8 -> 2.3.11
2019-04-24 22:26:14 +02:00
Mario Rodas 7bfe30917a
Merge pull request #59292 from steve-chavez/pgrouting
pgrouting: init at 2.6.2
2019-04-15 19:38:12 -05:00
steve-chavez 1f69a954e6 pgrouting: init at 2.6.2
* Remove configurePhase and gcc. Move perl dependency
* Shorten github rev
* Add $out/bin workaround
2019-04-15 18:24:45 -05:00
Mario Rodas 0b8d120d84 postgresqlPackages.pg_cron: 1.1.3 -> 1.1.4 (#59396) 2019-04-14 22:36:39 +02:00
Mario Rodas 3277aedf25 postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58605) 2019-04-12 17:01:36 +02:00
R. RyanTM bc5c2f4c60 postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58756)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/postgis/versions
2019-04-08 23:58:39 +02:00
R. RyanTM 33a8155449 postgresqlPackages.pg_cron: 1.1.2 -> 1.1.3 (#58747)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pg_cron/versions
2019-04-08 23:44:12 +02:00
Mario Rodas f917e9d343
postgresqlPackages.plv8: 2.3.8 -> 2.3.11 2019-03-30 21:00:00 -05:00
Mario Rodas d4d710c1ab
postgresqlPackages.pipelinedb: init at 1.0.0-13 2019-03-27 08:40:00 -05:00
Mario Rodas 42b75c6c38
timescaledb: 1.0.0 -> 1.2.2 2019-03-25 16:20:00 -05:00
R. RyanTM 1670e35e2d postgresqlPackages.pgroonga: 2.1.7 -> 2.1.8 (#54746)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgroonga/versions
2019-03-15 20:36:40 +01:00
Steve Chávez 28d49431c0 tds_fdw: init a 1.0.8
* tds_fdw: init a 1.0.8

* Use pname
2019-03-12 19:38:58 -07:00
R. RyanTM 65898a4ddb postgresqlPackages.pgtap: 0.99.0 -> 1.0.0 (#57360)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pgtap/versions
2019-03-13 00:58:12 +02:00
Mario Rodas 2981a7b0e3
pg_topn: 2.2.0 -> 2.2.2 2019-01-30 19:59:21 -05:00
Danylo Hlynskyi 4fb8bc8238
postgresql: cleanup postgis (#54396)
postgis: cleanup

Another part of https://github.com/NixOS/nixpkgs/pull/38698, though I did cleanup even more.
Moving docs to separate output should save another 30MB.

I did pin poppler to 0.61 just to be sure GDAL doesn't break again next
time poppler changes internal APIs.
2019-01-26 21:15:43 +02:00
Austin Seipp 8cbe6b9ce4 nixpkgs: reorganize the postgresql extensions
This is a backwards compatible change; it mostly puts all the extensions
for postgresql in a common directory to keep them isolated.

It also moves a few things that /were not/ extensions out into other parts of
the filesystem namespace; namely the postgresql_jdbc and psqlodbc libraries
were moved under development/java-modules and development/libraries,
respectively. Because these libraries use the libpq postgresql client drivers,
they're less sensitive to underlying version changes anyway (since the protocol
is relatively stable).

No attributes were renamed or harmed in the creation of this patch.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-01-19 17:33:32 -06:00