Merge pull request #127629 from McSinyx/pn

pn: init at unstable-2021-01-28
This commit is contained in:
Sandro 2021-06-21 12:12:56 +02:00 committed by GitHub
commit d3d20d7c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, stdenv, fetchFromGitHub, cmake, libphonenumber, icu, protobuf }:
stdenv.mkDerivation rec {
pname = "pn";
version = "unstable-2021-01-28";
src = fetchFromGitHub {
owner = "Orange-OpenSource";
repo = pname;
rev = "41e1215397129ed0d42b5f137fb35b5e0648edda";
sha256 = "1g8r7y230k01ghraa55g1bhz3fiz6bjdgcsddy2dfa5ih8c4s3jm";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libphonenumber icu protobuf ];
meta = with lib; {
description = "A libphonenumber command-line wrapper";
homepage = "https://github.com/Orange-OpenSource/pn";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ maintainers.McSinyx ];
};
}

View File

@ -3119,6 +3119,8 @@ in
playerctl = callPackage ../tools/audio/playerctl { };
pn = callPackage ../tools/text/pn { };
poweralertd = callPackage ../tools/misc/poweralertd { };
ps_mem = callPackage ../tools/system/ps_mem { };