mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
python312Packages.kgb: init at 7.2
This commit is contained in:
parent
7fd2a6fdf3
commit
7fc19e7921
2 changed files with 35 additions and 0 deletions
33
pkgs/development/python-modules/kgb/default.nix
Normal file
33
pkgs/development/python-modules/kgb/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue