libphonenumber: init at 8.9.9
This commit is contained in:
parent
59f88b478f
commit
eca17c4a7f
38
pkgs/development/libraries/libphonenumber/default.nix
Normal file
38
pkgs/development/libraries/libphonenumber/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user