Commit d2d197b9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.pytest-gitconfig: init at 0.8.0

parent f868480a
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -14687,6 +14687,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 { };