lol
1{ lib, stdenv, fetchFromGitHub, cmake, libphonenumber, icu, protobuf }:
2
3stdenv.mkDerivation rec {
4 pname = "pn";
5 version = "0.9.0";
6
7 src = fetchFromGitHub {
8 owner = "Orange-OpenSource";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-vRF9MPcw/hCreHVLD6QB7g1r0wQiZv1xrfzIHj1Yf9M=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libphonenumber icu protobuf ];
16
17 meta = with lib; {
18 description = "A libphonenumber command-line wrapper";
19 homepage = "https://github.com/Orange-OpenSource/pn";
20 license = licenses.asl20;
21 platforms = platforms.unix;
22 maintainers = [ maintainers.McSinyx ];
23 };
24}