libphonenumber: init at 8.9.9

This commit is contained in:
Michael Eden 2018-08-13 16:23:19 -04:00
parent 59f88b478f
commit eca17c4a7f
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, fetchFromGitHub, cmake, gmock, boost, pkgconfig, protobuf, icu }:
let
version = "8.9.9";
in
stdenv.mkDerivation {
name = "phonenumber-${version}";
inherit version;
src = fetchFromGitHub {
owner = "googlei18n";
repo = "libphonenumber";
rev = "v${version}";
sha256 = "005visnfnr84blgdi0yp4hrzskwbsnawrzv6lqfi9f073l6w5j6w";
};
nativeBuildInputs = [
cmake
gmock
pkgconfig
];
buildInputs = [
boost
protobuf
icu
];
cmakeDir = "../cpp";
checkPhase = "./libphonenumber_test";
meta = with stdenv.lib; {
description = "Google's i18n library for parsing and using phone numbers";
license = licenses.asl20;
maintainers = with maintainers; [ illegalprime ];
};
}

View File

@ -10672,6 +10672,8 @@ with pkgs;
libpgf = callPackage ../development/libraries/libpgf { };
libphonenumber = callPackage ../development/libraries/libphonenumber { };
libpng = callPackage ../development/libraries/libpng { };
libpng_apng = libpng.override { apngSupport = true; };
libpng12 = callPackage ../development/libraries/libpng/12.nix { };