depot/third_party/nixpkgs/pkgs/development/python-modules/querystring-parser/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

39 lines
866 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
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 ];
};
}