blob: 622292c9bf408aef8e3467ff6ba612f9320891da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
pname = "better-exceptions";
version = "0.3.3";
pyproject = true;
src = fetchPypi {
pname = "better_exceptions";
inherit version;
hash = "sha256-5Oa8GERNXwTm6JSxA4Hl6SHT1UQkBBgWLH21fp6zRTs=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "better_exceptions" ];
# As noted by @WolfangAukang, some check files need to be disabled because of various errors, same with some tests.
# After disabling and running the build, no tests are collected.
doCheck = false;
meta = {
description = "Pretty and more helpful exceptions in Python, automatically";
homepage = "https://github.com/qix-/better-exceptions";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.alex-nt ];
};
}
|