aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/hypothesis-auto/default.nix
blob: 692db49adce66834327ef65671d145237f9a364a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib, buildPythonPackage, fetchPypi
, hypothesis
, poetry
, pydantic
, pytest
}:

buildPythonPackage rec {
  pname = "hypothesis-auto";
  version = "1.1.4";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1c9jksza0gg2gva3liy0s8riv6imjavhnqw05m8l5660knq2yb2y";
  };

  nativeBuildInputs = [
    poetry
  ];

  propagatedBuildInputs = [
    pydantic
    hypothesis
    pytest
  ];

  pythonImportsCheck = [ "hypothesis_auto" ];

  meta = with lib; {
    description = "Enables fully automatic tests for type annotated functions";
    homepage = "https://github.com/timothycrosley/hypothesis-auto/";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };
}