summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/allure-behave/default.nix
blob: 984bbe4f882ed1ea9fb347e8d3015bd7b6c139e1 (plain)
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
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  behave,
  allure-python-commons,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "allure-behave";
  version = "2.15.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "allure-framework";
    repo = "allure-python";
    tag = version;
    hash = "sha256-I3Zh9frOplcPqLd8b4peNM9WtbNmQjHX6ocVJJwPzyc=";
  };

  sourceRoot = "${src.name}/allure-behave";

  build-system = [ setuptools-scm ];

  dependencies = [
    allure-python-commons
    behave
  ];

  doCheck = false; # no tests

  pythonImportsCheck = [ "allure_behave" ];

  meta = {
    description = "Allure behave integration";
    homepage = "https://github.com/allure-framework/allure-python";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ happysalada ];
  };
}