diff options
-rw-r--r-- | pkgs/development/libraries/readosm/default.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/libraries/readosm/default.nix b/pkgs/development/libraries/readosm/default.nix index f177dc768a69c..8ba1f571b0287 100644 --- a/pkgs/development/libraries/readosm/default.nix +++ b/pkgs/development/libraries/readosm/default.nix @@ -1,24 +1,26 @@ -{ lib, stdenv, fetchurl, expat, zlib, geos, libspatialite }: +{ lib, stdenv, fetchurl, expat, zlib, validatePkgConfig }: stdenv.mkDerivation rec { pname = "readosm"; version = "1.1.0a"; src = fetchurl { - url = "https://www.gaia-gis.it/gaia-sins/readosm-sources/${pname}-${version}.tar.gz"; - sha256 = "0igif2bxf4dr82glxz9gyx5mmni0r2dsnx9p9k6pxv3c4lfhaz6v"; + url = "https://www.gaia-gis.it/gaia-sins/readosm-${version}.tar.gz"; + hash = "sha256-23wFHSVs7H7NTDd1q5vIINpaS/cv/U6fQLkR15dw8UU="; }; - buildInputs = [ expat zlib geos libspatialite ]; + nativeBuildInputs = [ validatePkgConfig ]; - configureFlags = [ "--disable-freexl" ]; + buildInputs = [ expat zlib ]; enableParallelBuilding = true; - meta = { + doCheck = true; + + meta = with lib; { description = "An open source library to extract valid data from within an Open Street Map input file"; homepage = "https://www.gaia-gis.it/fossil/readosm"; - license = with lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ]; - platforms = lib.platforms.linux; + license = with licenses; [ mpl11 gpl2Plus lgpl21Plus ]; + platforms = platforms.unix; }; } |