nixpkgs/pkgs/tools/text/pn/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

26 lines
668 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, libphonenumber, icu, protobuf }:
stdenv.mkDerivation rec {
pname = "pn";
version = "0.9.0";
src = fetchFromGitHub {
owner = "Orange-OpenSource";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vRF9MPcw/hCreHVLD6QB7g1r0wQiZv1xrfzIHj1Yf9M=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libphonenumber icu protobuf ];
meta = with lib; {
description = "Libphonenumber command-line wrapper";
mainProgram = "pn";
homepage = "https://github.com/Orange-OpenSource/pn";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ maintainers.McSinyx ];
};
}