2020-08-20 17:08:02 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, fetchPypi, pythonAtLeast, pytest }:
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "crashtest";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "0.3.1";
|
|
|
|
disabled = !(pythonAtLeast "3.6");
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "42ca7b6ce88b6c7433e2ce47ea884e91ec93104a4b754998be498a8e6c3d37dd";
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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; [ ];
|
|
|
|
};
|
|
|
|
}
|