nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 setuptools-scm,
7 pytablewriter,
8 pytest,
9 tcolorpy,
10 typepy,
11 pytestCheckHook,
12}:
13
14buildPythonPackage rec {
15 pname = "pytest-md-report";
16 version = "0.7.0";
17 pyproject = true;
18
19 src = fetchPypi {
20 pname = "pytest_md_report";
21 inherit version;
22 hash = "sha256-O4Mur2YLRwtXQuWNnJpeMSsHEqcBLSUcwE6QioHOPJY=";
23 };
24
25 build-system = [
26 setuptools
27 setuptools-scm
28 ];
29
30 propagatedBuildInputs = [
31 pytablewriter
32 tcolorpy
33 typepy
34 ];
35
36 buildInputs = [ pytest ];
37
38 nativeCheckInputs = [ pytestCheckHook ];
39
40 pythonImportsCheck = [ "pytest_md_report" ];
41
42 meta = {
43 description = "Pytest plugin to make a test results report with Markdown table format";
44 homepage = "https://github.com/thombashi/pytest-md-report";
45 changelog = "https://github.com/thombashi/pytest-md-report/releases/tag/v${version}";
46 license = lib.licenses.mit;
47 maintainers = with lib.maintainers; [ rrbutani ];
48 };
49}