2022-09-22 12:36:57 +00:00
|
|
|
{ lib, stdenv, fetchurl, expat, zlib, validatePkgConfig }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "readosm";
|
|
|
|
version = "1.1.0a";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-09-22 12:36:57 +00:00
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/readosm-${version}.tar.gz";
|
|
|
|
hash = "sha256-23wFHSVs7H7NTDd1q5vIINpaS/cv/U6fQLkR15dw8UU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
nativeBuildInputs = [ validatePkgConfig ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
buildInputs = [ expat zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Open source library to extract valid data from within an Open Street Map input file";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.gaia-gis.it/fossil/readosm";
|
2022-09-22 12:36:57 +00:00
|
|
|
license = with licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|