depot/third_party/nixpkgs/pkgs/development/python-modules/nameparser/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
538 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
}:
buildPythonPackage rec {
pname = "nameparser";
version = "1.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "0av5kraczczp0hvwpkdaw7kl2hk9k4dyll08rg180n52a2dm0pra";
};
LC_ALL="en_US.UTF-8";
buildInputs = [ glibcLocales ];
meta = with lib; {
description = "A simple Python module for parsing human names into their individual components";
homepage = "https://github.com/derek73/python-nameparser";
license = licenses.lgpl21Plus;
};
}