2018-10-17 05:45:59 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-10-25 21:14:07 +01:00
|
|
|
, glibcLocales
|
2018-10-17 05:45:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nameparser";
|
2019-04-24 17:42:49 +01:00
|
|
|
version = "1.0.3";
|
2018-10-17 05:45:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-24 17:42:49 +01:00
|
|
|
sha256 = "c01ec7d0bc093420a45d8b5ea8261a84ba12bff0cabf47cb15b716c5ea8f3d23";
|
2018-10-17 05:45:59 +01:00
|
|
|
};
|
|
|
|
|
2018-10-25 21:14:07 +01:00
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2018-10-17 05:45:59 +01: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|