Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / multipart / default.nix
blob84daaac2773f45047ed5c954fca23cb0573b5785
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , fetchpatch
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "multipart";
10   version = "0.2.4";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "06ba205360bc7096fefe618e4f1e9b2cdb890b4f2157053a81f386912a2522cb";
17   };
19   patches = [
20     (fetchpatch {
21       name = "dont-test-semicolon-separators-in-urlencoded-data.patch";
22       url = "https://github.com/defnull/multipart/commit/4d4ac6b79c453918ebf40c690e8d57d982ee840b.patch";
23       hash = "sha256-rMeMhQEhonWAHzy5M8Im5mL6km5a9O0CGVOV+T3UNqo=";
24     })
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [ "multipart" ];
33   meta = {
34     description = "Parser for multipart/form-data";
35     homepage = "https://github.com/defnull/multipart";
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [ dotlambda ];
38   };