Commit 7fc19e79 authored by emaryn's avatar emaryn
Browse files

python312Packages.kgb: init at 7.2

parent 7fd2a6fd
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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;