mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
readosm: enable on darwin
This commit is contained in:
parent
21d687b0a4
commit
53be5fd7ef
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user