Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.0 KiB
Nix
57 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
cons,
|
|
multipledispatch,
|
|
py,
|
|
pytestCheckHook,
|
|
pytest-html,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "etuples";
|
|
version = "0.3.10";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pythological";
|
|
repo = "etuples";
|
|
tag = "v${version}";
|
|
hash = "sha256-h5MLj1z3qZiUXcNIDtUIbV5zeyTzxerbSezFD5Q27n0=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
cons
|
|
multipledispatch
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
py
|
|
pytestCheckHook
|
|
pytest-html
|
|
];
|
|
|
|
pytestFlags = [
|
|
"--html=testing-report.html"
|
|
"--self-contained-html"
|
|
];
|
|
|
|
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/tag/${src.tag}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ Etjean ];
|
|
};
|
|
}
|