mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
libpostal: init at 1.0.0
This commit is contained in:
parent
e3c1b424a4
commit
bb2ee4c3b0
27
pkgs/development/libraries/libpostal/default.nix
Normal file
27
pkgs/development/libraries/libpostal/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user