python310Packages.tidyexc: disable on unsupported Python releases
This commit is contained in:
parent
b0d10bb3a2
commit
2ce4af2f1c
1 changed files with 7 additions and 2 deletions
|
@ -1,19 +1,24 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tidyexc";
|
||||
version = "0.10.0";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gl1jmihafawg7hvnn4xb20vd2x5qpvca0m1wr2gk0m2jj42yiq6";
|
||||
};
|
||||
|
||||
format = "flit";
|
||||
pythonImportsCheck = [ "tidyexc" ];
|
||||
pythonImportsCheck = [
|
||||
"tidyexc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Raise rich, helpful exceptions";
|
||||
|
|
Loading…
Reference in a new issue