about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hypothesis-auto
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-08-16 13:34:19 -0700
committerJonathan Ringer <jonringer117@gmail.com>2020-08-16 13:34:19 -0700
commit1d62f35d581c2309431bbf1f688c3257c1239459 (patch)
tree13a2ab34efd3b82096e89a2a195749d320708dd0 /pkgs/development/python-modules/hypothesis-auto
parent16ad1aa942b16854289e48e9bb94898444b998bf (diff)
python3Packages.hypothesis-auto: init at 1.1.4
Diffstat (limited to 'pkgs/development/python-modules/hypothesis-auto')
-rw-r--r--pkgs/development/python-modules/hypothesis-auto/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hypothesis-auto/default.nix b/pkgs/development/python-modules/hypothesis-auto/default.nix
new file mode 100644
index 0000000000000..692db49adce66
--- /dev/null
+++ b/pkgs/development/python-modules/hypothesis-auto/default.nix
@@ -0,0 +1,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 ];
+  };
+}