Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 pythonOlder,
6 behave,
7 allure-python-commons,
8 setuptools-scm,
9}:
10
11buildPythonPackage rec {
12 pname = "allure-behave";
13 version = "2.15.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-puJuaeA6uFJRF1ZS7jWY55Mmk2Y4SQiuhZGEGi7yexs=";
21 };
22
23 nativeBuildInputs = [ setuptools-scm ];
24
25 pythonImportsCheck = [ "allure_behave" ];
26
27 propagatedBuildInputs = [
28 allure-python-commons
29 behave
30 ];
31
32 meta = with lib; {
33 description = "Allure behave integration";
34 homepage = "https://github.com/allure-framework/allure-python";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ happysalada ];
37 };
38}