1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "multipart"; 11 version = "1.3.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "defnull"; 16 repo = "multipart"; 17 tag = "v${version}"; 18 hash = "sha256-6vlyoi4nayZOKyfO4jbKNzUy7G6K7mySYzkqfp+45O4="; 19 }; 20 21 build-system = [ flit-core ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "multipart" ]; 26 27 meta = { 28 changelog = "https://github.com/defnull/multipart/blob/${src.tag}/CHANGELOG.rst"; 29 description = "Parser for multipart/form-data"; 30 homepage = "https://github.com/defnull/multipart"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ dotlambda ]; 33 }; 34}