nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 # build-system
7 uv-build,
8
9 # dependencies
10 pytest,
11
12 # tests
13 pytestCheckHook,
14}:
15
16let
17 pname = "pytest-describe";
18 version = "3.1.0";
19in
20buildPythonPackage {
21 inherit pname version;
22 pyproject = true;
23
24 src = fetchFromGitHub {
25 owner = "pytest-dev";
26 repo = "pytest-describe";
27 tag = version;
28 hash = "sha256-ygrZwd1cO9arekdzqn5Axjz4i9Q0QKFA/OS6QSIvP9Y=";
29 };
30
31 build-system = [ uv-build ];
32
33 buildInputs = [ pytest ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 meta = {
38 description = "Describe-style plugin for the pytest framework";
39 homepage = "https://github.com/pytest-dev/pytest-describe";
40 changelog = "https://github.com/pytest-dev/pytest-describe/releases/tag/${version}";
41 license = lib.licenses.mit;
42 maintainers = with lib.maintainers; [ hexa ];
43 };
44}