1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythonPackages.manuel: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 17:21:25 -04:00 committed by Frederik Rietdijk
parent d5fa9ee541
commit 1bbb17afe5
2 changed files with 26 additions and 17 deletions

View file

@ -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;
};
}

View file

@ -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}";