python310Packages.etuples: add format
- disable on unsupported Python releases
This commit is contained in:
parent
63ea80b6da
commit
b3f05ffdc1
1 changed files with 8 additions and 2 deletions
|
@ -6,11 +6,15 @@
|
||||||
, py
|
, py
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-html
|
, pytest-html
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "etuples";
|
pname = "etuples";
|
||||||
version = "0.3.9";
|
version = "0.3.9";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pythological";
|
owner = "pythological";
|
||||||
|
@ -35,12 +39,14 @@ buildPythonPackage rec {
|
||||||
"--self-contained-html"
|
"--self-contained-html"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "etuples" ];
|
pythonImportsCheck = [
|
||||||
|
"etuples"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python S-expression emulation using tuple-like objects";
|
description = "Python S-expression emulation using tuple-like objects";
|
||||||
homepage = "https://github.com/pythological/etuples";
|
homepage = "https://github.com/pythological/etuples";
|
||||||
changelog = "https://github.com/pythological/etuples/releases";
|
changelog = "https://github.com/pythological/etuples/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ Etjean ];
|
maintainers = with maintainers; [ Etjean ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue