2022-01-03 16:56:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "uritools";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "4.0.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"uritools"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://github.com/tkem/uritools/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ rvolosatovs ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|