diff options
| author | Tyler Benster <tbenst@gmail.com> | 2019-11-24 17:04:13 -0800 |
|---|---|---|
| committer | Jon <jonringer@users.noreply.github.com> | 2020-02-15 22:11:25 -0800 |
| commit | 07bb282c842bbbb683406be896f4732ea56aee8e (patch) | |
| tree | 7b00b7b82574262f0f9d0179a16f1ccb93e5a961 /pkgs/development/python-modules | |
| parent | 94f62695d1911ee87843651a403039ea747763f3 (diff) | |
pythonPackages.querystring_parser: init at 1.2.4
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/querystring-parser/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/querystring-parser/default.nix b/pkgs/development/python-modules/querystring-parser/default.nix new file mode 100644 index 000000000000..f9d04a8f797c --- /dev/null +++ b/pkgs/development/python-modules/querystring-parser/default.nix @@ -0,0 +1,29 @@ +{ stdenv, buildPythonPackage, fetchPypi, python, isPy27 +, six +}: + +buildPythonPackage rec { + pname = "querystring_parser"; + version = "1.2.4"; + disabled = isPy27; + + src = fetchPypi { + inherit pname version; + sha256 = "644fce1cffe0530453b43a83a38094dbe422ccba8c9b2f2a1c00280e14ca8a62"; + }; + + propagatedBuildInputs = [ + six + ]; + + checkPhase = "${python.interpreter} querystring_parser/tests.py -k 'not test_parse_normalized'"; + # one test fails due to https://github.com/bernii/querystring-parser/issues/35 + doCheck = true; + + meta = with stdenv.lib; { + homepage = "https://github.com/bernii/querystring-parser"; + description = "QueryString parser for Python/Django that correctly handles nested dictionaries"; + license = licenses.mit; + maintainers = with maintainers; [ tbenst ]; + }; +} |
