postgresqlPackages.postgis: add passthru.tests

This commit is contained in:
Mario Rodas 2020-11-21 04:20:00 +00:00
parent 45ab7143b0
commit 2a23c7cfd5

View File

@ -11,6 +11,7 @@
, file , file
, protobufc , protobufc
, libiconv , libiconv
, nixosTests
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "postgis"; pname = "postgis";
@ -65,6 +66,8 @@ stdenv.mkDerivation rec {
mv doc/* $doc/share/doc/postgis/ mv doc/* $doc/share/doc/postgis/
''; '';
passthru.tests.postgis = nixosTests.postgis;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Geographic Objects for PostgreSQL"; description = "Geographic Objects for PostgreSQL";
homepage = "https://postgis.net/"; homepage = "https://postgis.net/";