nixpkgs/pkgs/development/python-modules/nameparser/default.nix

26 lines
558 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, glibcLocales
}:
buildPythonPackage rec {
pname = "nameparser";
2019-12-19 19:31:16 +00:00
version = "1.0.5";
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:16 +00:00
sha256 = "79b5f81b9315b03ac3744d12448032490f5028b5117b721775ba97118ecd5e45";
};
LC_ALL="en_US.UTF-8";
buildInputs = [ glibcLocales ];
meta = with stdenv.lib; {
description = "A simple Python module for parsing human names into their individual components";
homepage = https://github.com/derek73/python-nameparser;
license = licenses.lgpl21Plus;
};
}