Files
nixpkgs/pkgs/development/python-modules/hypothesis-auto/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

54 lines
1020 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hypothesis,
poetry-core,
pydantic,
pytest,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "hypothesis-auto";
version = "1.1.5";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "hypothesis_auto";
inherit version;
hash = "sha256-U0vcOB9jXmUV5v2IwybVu2arY1FpPnKkP7m2kbD1kRw=";
};
pythonRelaxDeps = [
"hypothesis"
"pydantic"
];
build-system = [ poetry-core ];
dependencies = [
hypothesis
pydantic
];
optional-dependencies = {
pytest = [ pytest ];
};
pythonImportsCheck = [ "hypothesis_auto" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Enables fully automatic tests for type annotated functions";
homepage = "https://github.com/timothycrosley/hypothesis-auto/";
changelog = "https://github.com/timothycrosley/hypothesis-auto/blob/master/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}