@@ -0,0 +1,24 @@
1+{ lib, stdenv, fetchFromGitHub, cmake, libphonenumber, icu, protobuf }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "pn";
5+ version = "unstable-2021-01-28";
6+
7+ src = fetchFromGitHub {
8+ owner = "Orange-OpenSource";
9+ repo = pname;
10+ rev = "41e1215397129ed0d42b5f137fb35b5e0648edda";
11+ sha256 = "1g8r7y230k01ghraa55g1bhz3fiz6bjdgcsddy2dfa5ih8c4s3jm";
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+}