about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cucumber-tag-expressions/default.nix
blob: 74ec6c13a5aec0afd7c8e37f3e05d8191067abf3 (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
{ lib
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
, pytest-html
, pyyaml
, setuptools
 }:

buildPythonPackage rec {
  pname = "cucumber-tag-expressions";
  version = "6.1.0";
  pyproject = true;

  src = fetchFromGitHub{
    owner = "cucumber";
    repo = "tag-expressions";
    rev = "refs/tags/v${version}";
    hash = "sha256-etJKAOamCq63HsUqJMPBnmn0YFO3ZHOvs3/rDHN7YPU=";
  };

  sourceRoot = "${src.name}/python";

  build-system = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-html
    pyyaml
  ];

  meta = with lib; {
    homepage = "https://github.com/cucumber/tag-expressions";
    description = "Provides tag-expression parser for cucumber/behave";
    license = licenses.mit;
    maintainers = with maintainers; [ maxxk ];
  };
}