python310Packages.etuples: add format

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-06-09 23:00:58 +02:00 committed by GitHub
parent 63ea80b6da
commit b3f05ffdc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,11 +6,15 @@
, py
, pytestCheckHook
, pytest-html
, pythonOlder
}:
buildPythonPackage rec {
pname = "etuples";
version = "0.3.9";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "pythological";
@ -35,12 +39,14 @@ buildPythonPackage rec {
"--self-contained-html"
];
pythonImportsCheck = [ "etuples" ];
pythonImportsCheck = [
"etuples"
];
meta = with lib; {
description = "Python S-expression emulation using tuple-like objects";
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;
maintainers = with maintainers; [ Etjean ];
};