nixpkgs/pkgs/development/python-modules/nameparser/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
535 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
}:
buildPythonPackage rec {
pname = "nameparser";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-9LbHwQSNUovWqisnz0KgZEfSsx5FqVsgRJUTB48dhu8=";
};
LC_ALL="en_US.UTF-8";
buildInputs = [ glibcLocales ];
meta = with lib; {
description = "A simple Python module for parsing human names into their individual components";
homepage = "https://github.com/derek73/python-nameparser";
license = licenses.lgpl21Plus;
};
}