Commit Graph

21 Commits

Author SHA1 Message Date
Mario Rodas
20755fe00f postgresqlPackages.postgis: 3.1.0 -> 3.1.1
https://postgis.net/2021/01/28/postgis-3.1.1/
2021-01-28 04:20:00 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Mario Rodas
0356399563 postgreslPackages.postgis: 3.0.3 -> 3.1.0
https://postgis.net/2020/12/18/postgis-3.1.0/
2020-12-18 04:20:00 +00:00
Mario Rodas
2a23c7cfd5 postgresqlPackages.postgis: add passthru.tests 2020-11-21 04:20:00 +00:00
Mario Rodas
45ab7143b0 postgresqlPackages.postgis: 3.0.2 -> 3.0.3 2020-11-21 04:20:00 +00:00
Mario Rodas
8404fd0aff
postgresqlPackages.postgis: 3.0.1 -> 3.0.2 2020-08-15 16:20:00 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Mario Rodas
53a5d6918a
postgresqlPackages.postgis: 3.0.0 -> 3.0.1
Release notes: https://postgis.net/2020/02/20/postgis-3.0.1/
2020-02-24 04:20:00 -05:00
Mario Rodas
5ee2a05049
postgresqlPackages.postgis: 2.5.3 -> 3.0.0
Release notes: https://postgis.net/2019/10/20/postgis-3.0.0/
2019-10-20 16:20:00 -05:00
Mario Rodas
f465a74943
postgresqlPackages.postgis: 2.5.2 -> 2.5.3 2019-09-01 16:20:00 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Luke Worth
c1da476a88 postgis: match platform compatibility with postgres 2019-08-01 08:50:44 +10:00
Luke Worth
19011bad0c postgis: add explanatory comment 2019-08-01 08:50:41 +10:00
Luke Worth
7f54b9a2c6 postgis: make libiconv dependent on darwin 2019-07-27 19:43:31 +10:00
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
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
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
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