blob: d83060194d015d4f87e42ad7e03e83c87c6d54fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# tests
django,
djangorestframework,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "nested-multipart-parser";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "remigermain";
repo = "nested-multipart-parser";
tag = version;
hash = "sha256-9IGfYb6mVGkoE/6iDg0ap8c+0vrBDKK1DxzLRyfeWOk=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
django
djangorestframework
pytestCheckHook
];
pythonImportsCheck = [
"nested_multipart_parser"
];
meta = {
changelog = "https://github.com/remigermain/nested-multipart-parser/releases/tag/${src.tag}";
description = "Parser for nested data for 'multipart/form'";
homepage = "https://github.com/remigermain/nested-multipart-parser";
license = lib.licenses.mit;
};
}
|