3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.multipart: init at 0.2.4

This commit is contained in:
Robert Schütz 2022-12-11 23:10:38 -08:00 committed by Robert Schütz
parent 4f1ab0953d
commit 2a9bccc5cb
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "multipart";
version = "0.2.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "06ba205360bc7096fefe618e4f1e9b2cdb890b4f2157053a81f386912a2522cb";
};
patches = [
(fetchpatch {
name = "dont-test-semicolon-separators-in-urlencoded-data.patch";
url = "https://github.com/defnull/multipart/commit/4d4ac6b79c453918ebf40c690e8d57d982ee840b.patch";
hash = "sha256-rMeMhQEhonWAHzy5M8Im5mL6km5a9O0CGVOV+T3UNqo=";
})
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "multipart" ];
meta = {
description = "Parser for multipart/form-data";
homepage = "https://github.com/defnull/multipart";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View file

@ -6873,6 +6873,8 @@ self: super: with self; {
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
multipart = callPackage ../development/python-modules/multipart { };
netmap = callPackage ../development/python-modules/netmap { };
onetimepad = callPackage ../development/python-modules/onetimepad { };