about summary refs log tree commit diff
path: root/pkgs/development/python-modules/querystring-parser/default.nix
blob: 0e104dd1fdded09f0981e49b3b736ba79cba4298 (plain) (blame)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  python,
  pythonOlder,
  setuptools,
  six,
}:

buildPythonPackage rec {
  pname = "querystring-parser";
  version = "1.2.4";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "querystring_parser";
    inherit version;
    hash = "sha256-ZE/OHP/gUwRTtDqDo4CU2+QizLqMmy8qHAAoDhTKimI=";
  };

  build-system = [ setuptools ];

  dependencies = [ six ];

  # https://github.com/bernii/querystring-parser/issues/35
  doCheck = false;

  pythonImportsCheck = [ "querystring_parser" ];

  meta = with lib; {
    description = "Module to handle nested dictionaries";
    homepage = "https://github.com/bernii/querystring-parser";
    changelog = "https://github.com/bernii/querystring-parser/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ tbenst ];
  };
}