mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
python310Packages.overrides: init at 7.3.1
This commit is contained in:
parent
c1cf121662
commit
0978541585
37
pkgs/development/python-modules/overrides/default.nix
Normal file
37
pkgs/development/python-modules/overrides/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user