python3Packages.uritools: add pythonImportsCheck, update meta
This commit is contained in:
parent
56eea3bc4f
commit
692e493c99
@ -1,18 +1,29 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "uritools";
|
pname = "uritools";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
disabled = isPy27;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf";
|
sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"uritools"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
|
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
|
||||||
|
homepage = "https://github.com/tkem/uritools/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.rvolosatovs ];
|
maintainers = with maintainers; [ rvolosatovs ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user