Files
nixpkgs/pkgs/development/python-modules/better-exceptions/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
832 B
Nix

{
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 ];
};
}