Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "multipart"; 11 version = "0.2.5"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-+piDjUDJZ7sZWJYmoPuKXEDEId2i/r4bA1H89ibiRlE="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "multipart" ]; 24 25 meta = { 26 description = "Parser for multipart/form-data"; 27 homepage = "https://github.com/defnull/multipart"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ dotlambda ]; 30 }; 31}