2022-01-03 07:25:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2017-06-11 13:01:37 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uritools";
|
2022-01-03 01:24:56 +00:00
|
|
|
version = "4.0.0";
|
2022-01-03 07:25:33 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2017-06-11 13:01:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-03 01:24:56 +00:00
|
|
|
sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf";
|
2017-06-11 13:01:37 +01:00
|
|
|
};
|
|
|
|
|
2022-01-03 07:25:33 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"uritools"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-06-11 13:01:37 +01:00
|
|
|
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
|
2022-01-03 07:25:33 +00:00
|
|
|
homepage = "https://github.com/tkem/uritools/";
|
2017-06-11 13:01:37 +01:00
|
|
|
license = licenses.mit;
|
2022-01-03 07:25:33 +00:00
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
2017-06-11 13:01:37 +01:00
|
|
|
};
|
|
|
|
}
|