libpostal: init at 1.0.0

This commit is contained in:
Tom Hall 2021-01-03 20:46:40 +00:00
parent e3c1b424a4
commit bb2ee4c3b0
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libpostal";
version = "1.0.0";
src = fetchFromGitHub {
owner = "openvenues";
repo = "libpostal";
rev = "v${version}";
sha256 = "0qf5nkfkfjl2ylkrnw7kzax71y85gkr8i24glyp9rflyzmpj6giy";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [
"--disable-data-download"
] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ "--disable-sse2" ];
meta = with lib; {
description = "A C library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data";
homepage = "https://github.com/openvenues/libpostal";
license = licenses.mit;
maintainers = [ maintainers.Thra11 ];
platforms = platforms.linux;
};
}

View File

@ -15598,6 +15598,8 @@ in
libpng_apng = libpng.override { apngSupport = true; };
libpng12 = callPackage ../development/libraries/libpng/12.nix { };
libpostal = callPackage ../development/libraries/libpostal { };
libpaper = callPackage ../development/libraries/libpaper { };
libpfm = callPackage ../development/libraries/libpfm { };