depot/third_party/nixpkgs/pkgs/development/python-modules/uritools/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

29 lines
690 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "uritools";
version = "4.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-BN8reH0Ot2IA6DGTgqA1Yvv+R0H9ZsFVBrCNO4IR1XM=";
};
pythonImportsCheck = [ "uritools" ];
meta = with lib; {
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
homepage = "https://github.com/tkem/uritools/";
changelog = "https://github.com/tkem/uritools/blob/v${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ rvolosatovs ];
};
}