about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-describe/default.nix
blob: 52e7764ce43b232c5fde331d98ef3423b2519481 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi

# build
, pytest

# tests
, py
, pytestCheckHook
}:

let
  pname = "pytest-describe";
  version = "2.0.1";
in
buildPythonPackage {
  inherit pname version;
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-5cuqMRafAGA0itXKAZECfl8fQfPyf97vIINl4JxV65o=";
  };

  buildInputs = [
    pytest
  ];

  checkInputs = [
    py
    pytestCheckHook
  ];

  meta = with lib; {
    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 = licenses.mit;
    maintainers = with maintainers; [ hexa ];
  };
}