python313Packages.griffe: 1.14.0 -> 1.15.0, python313Packages.pytest-gitconfig: init at 0.8.0 (#462168)

This commit is contained in:
Fabian Affolter
2025-11-16 20:24:41 +00:00
committed by GitHub
3 changed files with 47 additions and 2 deletions
@@ -7,19 +7,20 @@
git,
jsonschema,
pdm-backend,
pytest-gitconfig,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "griffe";
version = "1.14.0";
version = "1.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mkdocstrings";
repo = "griffe";
tag = version;
hash = "sha256-0koTrA1b3S1NO6w24S8eghWpYDkGEo61giRveQ7MZhM=";
hash = "sha256-AMMTAqsJfj2MltTgAxfvjUTVzi+ZFmx+J9pzhMp28Z4=";
};
build-system = [ pdm-backend ];
@@ -29,6 +30,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
git
jsonschema
pytest-gitconfig
pytestCheckHook
];
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pkgs,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-gitconfig";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "noirbizarre";
repo = "pytest-gitconfig";
tag = version;
hash = "sha256-5DfG74mEvsWHH2xPyG1mNcWp9/DgpveLbaSEOoRzD+g=";
};
build-system = [ pdm-backend ];
buildInput = [ pytest ];
nativeCheckInputs = [
pkgs.gitMinimal
pytestCheckHook
];
pythonImportsCheck = [ "pytest_gitconfig" ];
meta = {
description = "Pytest gitconfig sandbox";
homepage = "https://github.com/noirbizarre/pytest-gitconfig";
changelog = "https://github.com/noirbizarre/pytest-gitconfig/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -14691,6 +14691,8 @@ self: super: with self; {
pytest-freezer = callPackage ../development/python-modules/pytest-freezer { };
pytest-gitconfig = callPackage ../development/python-modules/pytest-gitconfig { };
pytest-golden = callPackage ../development/python-modules/pytest-golden { };
pytest-grpc = callPackage ../development/python-modules/pytest-grpc { };