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