about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/attrs/tests.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/attrs/tests.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/attrs/tests.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/attrs/tests.nix b/nixpkgs/pkgs/development/python-modules/attrs/tests.nix
new file mode 100644
index 000000000000..c9fae9e0228c
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/attrs/tests.nix
@@ -0,0 +1,21 @@
+{ buildPythonPackage
+, pytestCheckHook
+, attrs
+, hypothesis
+}:
+
+buildPythonPackage {
+  pname = "attrs-tests";
+  inherit (attrs) version;
+
+  srcs = attrs.testout;
+
+  dontBuild = true;
+  dontInstall = true;
+
+  checkInputs = [
+    attrs
+    hypothesis
+    pytestCheckHook
+  ];
+}