1{ lib
2, buildPythonPackage
3, fetchPypi
4
5# build
6, pytest
7
8# tests
9, pytestCheckHook
10}:
11
12let
13 pname = "pytest-describe";
14 version = "2.0.1";
15in
16buildPythonPackage {
17 inherit pname version;
18 format = "setuptools";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-5cuqMRafAGA0itXKAZECfl8fQfPyf97vIINl4JxV65o=";
23 };
24
25 buildInputs = [
26 pytest
27 ];
28
29 checkInputs = [
30 pytestCheckHook
31 ];
32
33 meta = with lib; {
34 description = "Describe-style plugin for the pytest framework";
35 homepage = "https://github.com/pytest-dev/pytest-describe";
36 changelog = "https://github.com/pytest-dev/pytest-describe/releases/tag/${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ hexa ];
39 };
40}