python310Packages.overrides: init at 7.3.1

This commit is contained in:
Fabian Affolter 2023-02-20 09:04:30 +01:00
parent c1cf121662
commit 0978541585
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "overrides";
version = "7.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mkorpela";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-mxMh1ifOnii2SqxYjupDKvslHVGwClGtRgyoJSCGfZo=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"overrides"
];
meta = with lib; {
description = "Decorator to automatically detect mismatch when overriding a method";
homepage = "https://github.com/mkorpela/overrides";
changelog = "https://github.com/mkorpela/overrides/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7068,6 +7068,8 @@ self: super: with self; {
overpy = callPackage ../development/python-modules/overpy { };
overrides = callPackage ../development/python-modules/overrides { };
pandas-stubs = callPackage ../development/python-modules/pandas-stubs { };
pdunehd = callPackage ../development/python-modules/pdunehd { };