blob: 7259cb1aafbe5bada97118bfbee56fe0f0782f77 (
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
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
uv-build,
# dependencies
pytest,
# tests
pytestCheckHook,
}:
let
pname = "pytest-describe";
version = "3.1.0";
in
buildPythonPackage {
inherit pname version;
pyproject = true;
src = fetchFromGitHub {
owner = "pytest-dev";
repo = "pytest-describe";
tag = version;
hash = "sha256-ygrZwd1cO9arekdzqn5Axjz4i9Q0QKFA/OS6QSIvP9Y=";
};
build-system = [ uv-build ];
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Describe-style plugin for the pytest framework";
homepage = "https://github.com/pytest-dev/pytest-describe";
changelog = "https://github.com/pytest-dev/pytest-describe/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}
|