mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
Merge pull request #43397 from illegalprime/libphonenumber
libphonenumber: init at 8.9.9
This commit is contained in:
commit
78b4d9ac80
@ -1679,6 +1679,11 @@
|
|||||||
github = "ikervagyok";
|
github = "ikervagyok";
|
||||||
name = "Balázs Lengyel";
|
name = "Balázs Lengyel";
|
||||||
};
|
};
|
||||||
|
illegalprime = {
|
||||||
|
email = "themichaeleden@gmail.com";
|
||||||
|
github = "illegalprime";
|
||||||
|
name = "Michael Eden";
|
||||||
|
};
|
||||||
ilya-kolpakov = {
|
ilya-kolpakov = {
|
||||||
email = "ilya.kolpakov@gmail.com";
|
email = "ilya.kolpakov@gmail.com";
|
||||||
github = "ilya-kolpakov";
|
github = "ilya-kolpakov";
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -10674,6 +10674,8 @@ with pkgs;
|
|||||||
|
|
||||||
libpgf = callPackage ../development/libraries/libpgf { };
|
libpgf = callPackage ../development/libraries/libpgf { };
|
||||||
|
|
||||||
|
libphonenumber = callPackage ../development/libraries/libphonenumber { };
|
||||||
|
|
||||||
libpng = callPackage ../development/libraries/libpng { };
|
libpng = callPackage ../development/libraries/libpng { };
|
||||||
libpng_apng = libpng.override { apngSupport = true; };
|
libpng_apng = libpng.override { apngSupport = true; };
|
||||||
libpng12 = callPackage ../development/libraries/libpng/12.nix { };
|
libpng12 = callPackage ../development/libraries/libpng/12.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user