1{ lib, buildPythonPackage, fetchPypi
2, hypothesis
3, poetry
4, pydantic
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "hypothesis-auto";
10 version = "1.1.4";
11 format = "pyproject";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1c9jksza0gg2gva3liy0s8riv6imjavhnqw05m8l5660knq2yb2y";
16 };
17
18 nativeBuildInputs = [
19 poetry
20 ];
21
22 propagatedBuildInputs = [
23 pydantic
24 hypothesis
25 pytest
26 ];
27
28 pythonImportsCheck = [ "hypothesis_auto" ];
29
30 meta = with lib; {
31 description = "Enables fully automatic tests for type annotated functions";
32 homepage = "https://github.com/timothycrosley/hypothesis-auto/";
33 license = licenses.mit;
34 maintainers = with maintainers; [ jonringer ];
35 };
36}