python312Packages.kgb: init at 7.2

This commit is contained in:
emaryn 2025-06-08 10:34:32 +08:00
parent 7fd2a6fdf3
commit 7fc19e7921
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "kgb";
version = "7.2";
pyproject = true;
src = fetchFromGitHub {
owner = "beanbaginc";
repo = "kgb";
tag = "release-${version}";
hash = "sha256-hNJXoUIyrCB9PCWLCmN81F6pBRwZApDR6JWA0adyklw=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "kgb" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python function spy support for unit tests";
homepage = "https://github.com/beanbaginc/kgb";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ emaryn ];
};
}

View file

@ -7553,6 +7553,8 @@ self: super: with self; {
kfactory = callPackage ../development/python-modules/kfactory { };
kgb = callPackage ../development/python-modules/kgb { };
khanaa = callPackage ../development/python-modules/khanaa { };
kicad = toPythonModule (pkgs.kicad.override { python3 = python; }).src;