nixpkgs/pkgs/development/python-modules/nameparser/default.nix
2020-04-10 17:54:53 +01:00

26 lines
548 B
Nix

{ stdenv
, 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 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;
};
}