diff --git a/pkgs/development/python-modules/manuel/default.nix b/pkgs/development/python-modules/manuel/default.nix new file mode 100644 index 000000000000..1030ee215562 --- /dev/null +++ b/pkgs/development/python-modules/manuel/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, six +, zope_testing +}: + +buildPythonPackage rec { + pname = "manuel"; + version = "1.8.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1diyj6a8bvz2cdf9m0g2bbx9z2yjjnn3ylbg1zinpcjj6vldfx59"; + }; + + propagatedBuildInputs = [ six zope_testing ]; + + meta = with stdenv.lib; { + description = "A documentation builder"; + homepage = https://pypi.python.org/pypi/manuel; + license = licenses.zpl20; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9be36299647f..94bdcf014a8d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5805,23 +5805,7 @@ in { marshmallow-sqlalchemy = callPackage ../development/python-modules/marshmallow-sqlalchemy { }; - manuel = buildPythonPackage rec { - name = "manuel-${version}"; - version = "1.8.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/m/manuel/${name}.tar.gz"; - sha256 = "1diyj6a8bvz2cdf9m0g2bbx9z2yjjnn3ylbg1zinpcjj6vldfx59"; - }; - - propagatedBuildInputs = with self; [ six zope_testing ]; - - meta = { - description = "A documentation builder"; - homepage = https://pypi.python.org/pypi/manuel; - license = licenses.zpl20; - }; - }; + manuel = callPackage ../development/python-modules/manuel { }; mapsplotlib = buildPythonPackage rec { name = "mapsplotlib-${version}";