blob: a243a4063291b08e64c61c5df315fe7e336aa778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pkgs,
pytest,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "pytest-gitconfig";
version = "0.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "noirbizarre";
repo = "pytest-gitconfig";
tag = finalAttrs.version;
hash = "sha256-z3W9AL74i47k/eYCbFMn3foVaD2h7lFrGzyOnbDwkyc=";
};
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/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|