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