2018-10-17 04:45:59 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-10-25 20:14:07 +00:00
|
|
|
, glibcLocales
|
2018-10-17 04:45:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nameparser";
|
2019-08-20 10:48:49 +00:00
|
|
|
version = "1.0.4";
|
2018-10-17 04:45:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 10:48:49 +00:00
|
|
|
sha256 = "1kc2phcz22r7vim3hmq0vrp2zqxl6v49hq40jmp4p81pdvgh5c6b";
|
2018-10-17 04:45:59 +00:00
|
|
|
};
|
|
|
|
|
2018-10-25 20:14:07 +00:00
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2018-10-17 04:45:59 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|