2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
, pytest-cov
|
2020-04-24 23:36:52 +00:00
|
|
|
, mock
|
|
|
|
, pyyaml
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-multipart";
|
|
|
|
version = "0.0.5";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "f7bb5f611fc600d15fa47b3974c8aa16e93724513b49b5f95c81e6624c83fa43";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
pytest-cov
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|