Files
nixpkgs/pkgs/development/python-modules/etuples/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

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 = {
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 = lib.licenses.asl20;
maintainers = with lib.maintainers; [ Etjean ];
};
}