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 , 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 ];
}; };