2018-10-17 06:45:59 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-10-25 22:14:07 +02:00
|
|
|
, glibcLocales
|
2018-10-17 06:45:59 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nameparser";
|
2018-11-18 17:53:10 +01:00
|
|
|
version = "1.0.2";
|
2018-10-17 06:45:59 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-18 17:53:10 +01:00
|
|
|
sha256 = "0w1m8qva2d7xfqrdxsnh1cncr3ank2205i5rz44hawjh2frzmik2";
|
2018-10-17 06:45:59 +02:00
|
|
|
};
|
|
|
|
|
2018-10-25 22:14:07 +02:00
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
2018-10-17 06:45:59 +02: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|