1{ lib, buildPythonPackage, fetchPypi, pythonAtLeast }:
2
3buildPythonPackage rec {
4 pname = "crashtest";
5 version = "0.4.1";
6 disabled = !(pythonAtLeast "3.6");
7
8 src = fetchPypi {
9 inherit pname version;
10 hash = "sha256-gNex8xbr+9Qp9kgHbWJ1yHe6MLpIl53kGRcUp1Jm8M4=";
11 };
12
13 # has tests, but only on GitHub, however the pyproject build fails for me
14 pythonImportsCheck = [
15 "crashtest.frame"
16 "crashtest.inspector"
17 ];
18
19 meta = with lib; {
20 homepage = "https://github.com/sdispater/crashtest";
21 description = "Manage Python errors with ease";
22 license = licenses.mit;
23 maintainers = with maintainers; [ ];
24 };
25}