2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-17 05:45:59 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-10-25 21:14:07 +01:00
|
|
|
, glibcLocales
|
2018-10-17 05:45:59 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nameparser";
|
2020-02-13 11:21:10 +00:00
|
|
|
version = "1.0.6";
|
2018-10-17 05:45:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-13 11:21:10 +00:00
|
|
|
sha256 = "0av5kraczczp0hvwpkdaw7kl2hk9k4dyll08rg180n52a2dm0pra";
|
2018-10-17 05:45:59 +01:00
|
|
|
};
|
|
|
|
|
2018-10-25 21:14:07 +01:00
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-17 05:45:59 +01:00
|
|
|
description = "A simple Python module for parsing human names into their individual components";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/derek73/python-nameparser";
|
2018-10-17 05:45:59 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|