Files
nixpkgs/pkgs/development/python-modules/coincidence/default.nix
T
2026-01-05 01:09:52 +01:00

46 lines
947 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-regressions,
pytest-timeout,
pytestCheckHook,
toml,
typing-extensions,
whey,
}:
buildPythonPackage rec {
pname = "coincidence";
version = "0.6.6";
pyproject = true;
src = fetchFromGitHub {
owner = "python-coincidence";
repo = "coincidence";
tag = "v${version}";
hash = "sha256-ktSuUzAwMych6Y2eJWMUfG1a3mGypg8L20f/105RFXc=";
};
build-system = [ whey ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
pytest-regressions
pytest-timeout
pytestCheckHook
toml
];
pythonImportsCheck = [ "coincidence" ];
meta = {
description = "Helper functions for pytest";
homepage = "https://github.com/python-coincidence/coincidence";
changelog = "https://github.com/python-coincidence/coincidence/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}