1{ lib
2, buildPythonPackage
3, isPy27
4, fetchPypi
5}:
6
7buildPythonPackage rec {
8 pname = "sansio-multipart";
9 version = "0.3";
10
11 disabled = isPy27;
12
13 format = "setuptools";
14
15 src = fetchPypi {
16 pname = "sansio_multipart";
17 inherit version;
18 sha256 = "6e95b2e64039a95d0f2cd8f3360eaf418d6b9018fb2215d82d399d62d6122dc3";
19 };
20
21 # upstream has no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "sansio_multipart" ];
25
26 meta = {
27 description = "Parser for multipart/form-data";
28 homepage = "https://github.com/theelous3/sansio-multipart-parser";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ dotlambda ];
31 };
32}