pythonPackages.python-multipart: init at 0.0.5

This commit is contained in:
Chris Ostrouchov 2019-12-29 13:08:10 -05:00
parent 9bb56b2416
commit 5438b13be8
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, mock
, pyyaml
, six
}:
buildPythonPackage rec {
pname = "python-multipart";
version = "0.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "f7bb5f611fc600d15fa47b3974c8aa16e93724513b49b5f95c81e6624c83fa43";
};
checkInputs = [
pytest
pytestcov
mock
pyyaml
];
propagatedBuildInputs = [
six
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "A streaming multipart parser for Python";
homepage = https://github.com/andrew-d/python-multipart;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -4314,6 +4314,8 @@ in {
orderedset = callPackage ../development/python-modules/orderedset { }; orderedset = callPackage ../development/python-modules/orderedset { };
python-multipart = callPackage ../development/python-modules/python-multipart { };
python-otr = callPackage ../development/python-modules/python-otr { }; python-otr = callPackage ../development/python-modules/python-otr { };
plone-testing = callPackage ../development/python-modules/plone-testing { }; plone-testing = callPackage ../development/python-modules/plone-testing { };