11 buildPythonPackage rec {
16 disabled = pythonOlder "3.7";
18 src = fetchFromGitHub {
21 rev = "refs/tags/${version}";
22 hash = "sha256-gQDw5/RpAFNYWFOuxIAArPkCOoBYWUnsDtv1FEFteHo=";
25 nativeBuildInputs = [ setuptools ];
27 nativeCheckInputs = [ pytestCheckHook ];
29 disabledTests = lib.optionals (pythonAtLeast "3.12") [
30 # KeyError: 'assertRaises'
31 "test_enforcing_when_incompatible"
34 pythonImportsCheck = [ "overrides" ];
37 description = "Decorator to automatically detect mismatch when overriding a method";
38 homepage = "https://github.com/mkorpela/overrides";
39 changelog = "https://github.com/mkorpela/overrides/releases/tag/${version}";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ fab ];