about summary refs log tree commit diff
path: root/pkgs/development/python-modules/crashtest
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-21 13:27:09 +0200
committerJon <jonringer@users.noreply.github.com>2020-06-21 21:59:07 -0700
commitb8d1c67679d033d3586090fef2d449fb9195be8c (patch)
treea0c262dcb0e80b7919a9f9da3070f7be59577288 /pkgs/development/python-modules/crashtest
parentb5badcf3d328c0b1fa7da8bd9b8e59ea7018377c (diff)
pythonPackages.crashtest: init at 0.3.0
Diffstat (limited to 'pkgs/development/python-modules/crashtest')
-rw-r--r--pkgs/development/python-modules/crashtest/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/crashtest/default.nix b/pkgs/development/python-modules/crashtest/default.nix
new file mode 100644
index 0000000000000..e4c7fb839f915
--- /dev/null
+++ b/pkgs/development/python-modules/crashtest/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, isPy27, pytest }:
+
+buildPythonPackage rec {
+  pname = "crashtest";
+  version = "0.3.0";
+  disabled = isPy27;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "056zzbznl3xfnbblfci8lvcam3h7k7va68vi6asrm4q0ck4nrh79";
+  };
+
+  # has tests, but only on GitHub, however the pyproject build fails for me
+  pythonImportsCheck = [
+    "crashtest.frame"
+    "crashtest.inspector"
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/sdispater/crashtest";
+    description = "Manage Python errors with ease";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ];
+  };
+}