1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 pname = "uritools";
10 version = "5.0.0";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-aBgMrRVAYr1bXZ/83UZPjeaTRBSyVGKugHsAuN+TRd4=";
18 };
19
20 pythonImportsCheck = [ "uritools" ];
21
22 meta = with lib; {
23 description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
24 homepage = "https://github.com/tkem/uritools/";
25 changelog = "https://github.com/tkem/uritools/blob/v${version}/CHANGELOG.rst";
26 license = licenses.mit;
27 maintainers = with maintainers; [ rvolosatovs ];
28 };
29}