···1+{ stdenv, buildPythonPackage, fetchPypi, python, isPy27
2+, six
3+}:
4+5+buildPythonPackage rec {
6+ pname = "querystring_parser";
7+ version = "1.2.4";
8+ disabled = isPy27;
9+10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "644fce1cffe0530453b43a83a38094dbe422ccba8c9b2f2a1c00280e14ca8a62";
13+ };
14+15+ propagatedBuildInputs = [
16+ six
17+ ];
18+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;
22+23+ meta = with stdenv.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+ };
29+}
+2
pkgs/top-level/python-packages.nix
···5264 # alias for an older package which did not support Python 3
5265 Quandl = callPackage ../development/python-modules/quandl { };
5266005267 qscintilla-qt4 = callPackage ../development/python-modules/qscintilla { };
52685269 qscintilla-qt5 = pkgs.libsForQt5.callPackage ../development/python-modules/qscintilla-qt5 {
···5264 # alias for an older package which did not support Python 3
5265 Quandl = callPackage ../development/python-modules/quandl { };
52665267+ querystring_parser = callPackage ../development/python-modules/querystring-parser { };
5268+5269 qscintilla-qt4 = callPackage ../development/python-modules/qscintilla { };
52705271 qscintilla-qt5 = pkgs.libsForQt5.callPackage ../development/python-modules/qscintilla-qt5 {