1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 python,
6 pythonOlder,
7 setuptools,
8 six,
9}:
10
11buildPythonPackage rec {
12 pname = "querystring-parser";
13 version = "1.2.4";
14 pyproject = true;
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 pname = "querystring_parser";
20 inherit version;
21 hash = "sha256-ZE/OHP/gUwRTtDqDo4CU2+QizLqMmy8qHAAoDhTKimI=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ six ];
27
28 # https://github.com/bernii/querystring-parser/issues/35
29 doCheck = false;
30
31 pythonImportsCheck = [ "querystring_parser" ];
32
33 meta = with lib; {
34 description = "Module to handle nested dictionaries";
35 homepage = "https://github.com/bernii/querystring-parser";
36 changelog = "https://github.com/bernii/querystring-parser/releases/tag/${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ tbenst ];
39 };
40}