Files
nixpkgs/pkgs/development/python-modules/multipart/default.nix
2026-07-18 17:17:26 -07:00

35 lines
794 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "multipart";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "defnull";
repo = "multipart";
tag = "v${finalAttrs.version}";
hash = "sha256-1/G8qUnY7i5OvxkTSebC2pae9lzzfvnozJSVVylqB7w=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multipart" ];
meta = {
changelog = "https://github.com/defnull/multipart/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
description = "Parser for multipart/form-data";
homepage = "https://github.com/defnull/multipart";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
})