python3Packages.inject: init at 5.2.1 (#356609)
This commit is contained in:
commit
3fa87fea66
43
pkgs/development/python-modules/inject/default.nix
Normal file
43
pkgs/development/python-modules/inject/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
lib,
|
||||
nix-update-script,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "inject";
|
||||
version = "5.2.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ivankorobkov";
|
||||
repo = "python-inject";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ws296ESjb+a322imiRRWTS43w32rJc/7Y//OBQXOwnw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "inject" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Python dependency injection framework";
|
||||
homepage = "https://github.com/ivankorobkov/python-inject";
|
||||
changelog = "https://github.com/ivankorobkov/python-inject/blob/${version}/CHANGES.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ perchun ];
|
||||
};
|
||||
}
|
@ -6235,6 +6235,8 @@ self: super: with self; {
|
||||
|
||||
iniparse = callPackage ../development/python-modules/iniparse { };
|
||||
|
||||
inject = callPackage ../development/python-modules/inject { };
|
||||
|
||||
injector = callPackage ../development/python-modules/injector { };
|
||||
|
||||
inkbird-ble = callPackage ../development/python-modules/inkbird-ble { };
|
||||
|
Loading…
Reference in New Issue
Block a user