pythonPackages.nameparser: refactor move to python-modules
This commit is contained in:
parent
f2329dc489
commit
17ef9059e9
2 changed files with 22 additions and 15 deletions
21
pkgs/development/python-modules/nameparser/default.nix
Normal file
21
pkgs/development/python-modules/nameparser/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nameparser";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1zi94m99ziwwd6kkip3w2xpnl05r2cfv9iq68inz7np81c3g8vag";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
|
@ -2939,21 +2939,7 @@ in {
|
|||
});
|
||||
|
||||
|
||||
nameparser = buildPythonPackage rec {
|
||||
name = "nameparser-${version}";
|
||||
version = "0.3.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nameparser/${name}.tar.gz";
|
||||
sha256 = "1zi94m99ziwwd6kkip3w2xpnl05r2cfv9iq68inz7np81c3g8vag";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A simple Python module for parsing human names into their individual components";
|
||||
homepage = https://github.com/derek73/python-nameparser;
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
};
|
||||
nameparser = callPackage ../development/python-modules/nameparser { };
|
||||
|
||||
nbconvert = callPackage ../development/python-modules/nbconvert { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue