Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / querystring-parser / default.nix
blob6288d196bb4e418831ae1ee0a23df915cff662ae
1 { lib, buildPythonPackage, fetchPypi, python, isPy27
2 , six
3 }:
5 buildPythonPackage rec {
6   pname = "querystring_parser";
7   version = "1.2.4";
8   disabled = isPy27;
10   src = fetchPypi {
11     inherit pname version;
12     sha256 = "644fce1cffe0530453b43a83a38094dbe422ccba8c9b2f2a1c00280e14ca8a62";
13   };
15   propagatedBuildInputs = [
16     six
17   ];
19   checkPhase = "${python.interpreter} querystring_parser/tests.py -k 'not test_parse_normalized'";
20   # one test fails due to https://github.com/bernii/querystring-parser/issues/35
21   doCheck = true;
23   meta = with lib; {
24     homepage = "https://github.com/bernii/querystring-parser";
25     description = "QueryString parser for Python/Django that correctly handles nested dictionaries";
26     license = licenses.mit;
27     maintainers = with maintainers; [ tbenst ];
28   };