nixpkgs/pkgs/development/python-modules/crashtest/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
643 B
Nix

{ lib, buildPythonPackage, fetchPypi, pythonAtLeast }:
buildPythonPackage rec {
pname = "crashtest";
version = "0.4.1";
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; [ ];
};
}