My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/exceptiongroup/default.nix

39 lines
817 B

{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "exceptiongroup";
version = "1.0.0rc5";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZlQiVQuWU6zUbpzTXZM/KMUVjKTAWMU2Gc+hEpFc1p4=";
};
nativeBuildInputs = [
flit-core
];
# Tests are only in the source available but tagged releases
# are incomplete as files are generated during the release process
doCheck = false;
pythonImportsCheck = [
"exceptiongroup"
];
meta = with lib; {
description = "Backport of PEP 654 (exception groups)";
homepage = "https://github.com/agronholm/exceptiongroup";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}