nixpkgs/pkgs/tools/text/pn/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
646 B
Nix
Raw Normal View History

2021-06-21 04:20:53 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, libphonenumber, icu, protobuf }:
stdenv.mkDerivation rec {
pname = "pn";
2021-11-18 17:12:17 +00:00
version = "0.9.0";
2021-06-21 04:20:53 +00:00
src = fetchFromGitHub {
owner = "Orange-OpenSource";
repo = pname;
2021-11-18 17:12:17 +00:00
rev = "v${version}";
sha256 = "sha256-vRF9MPcw/hCreHVLD6QB7g1r0wQiZv1xrfzIHj1Yf9M=";
2021-06-21 04:20:53 +00:00
};
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 ];
};
}