1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, pytest-cov 6, mock 7, pyyaml 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "python-multipart"; 13 version = "0.0.5"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "f7bb5f611fc600d15fa47b3974c8aa16e93724513b49b5f95c81e6624c83fa43"; 18 }; 19 20 checkInputs = [ 21 pytest 22 pytest-cov 23 mock 24 pyyaml 25 ]; 26 27 propagatedBuildInputs = [ 28 six 29 ]; 30 31 checkPhase = '' 32 pytest 33 ''; 34 35 meta = with lib; { 36 description = "A streaming multipart parser for Python"; 37 homepage = "https://github.com/andrew-d/python-multipart"; 38 license = licenses.asl20; 39 maintainers = [ maintainers.costrouc ]; 40 }; 41}