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