nixpkgs/pkgs/development/python-modules/crashtest/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

27 lines
668 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonAtLeast }:
buildPythonPackage rec {
pname = "crashtest";
version = "0.4.1";
format = "setuptools";
disabled = !(pythonAtLeast "3.6");
src = fetchPypi {
inherit pname version;
hash = "sha256-gNex8xbr+9Qp9kgHbWJ1yHe6MLpIl53kGRcUp1Jm8M4=";
};
# 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; [ ];
};
}