1{ lib
2, buildPythonPackage
3, click
4, click-completion
5, click-default-group
6, cucumber-tag-expressions
7, fetchFromGitHub
8, pluggy
9, poetry-core
10, pprintpp
11, pythonOlder
12, pythonRelaxDepsHook
13, rich
14, tomli
15}:
16
17buildPythonPackage rec {
18 pname = "ward";
19 version = "0.67.0b0";
20 format = "pyproject";
21
22 disabled = pythonOlder "3.8";
23
24 src = fetchFromGitHub {
25 owner = "darrenburns";
26 repo = pname;
27 rev = "refs/tags/release%2F${version}";
28 hash = "sha256-4dEMEEPySezgw3dIcYMl56HrhyaYlql9JvtamOn7Y8g=";
29 };
30
31 pythonRelaxDeps = [
32 "rich"
33 ];
34
35 nativeBuildInputs = [
36 poetry-core
37 pythonRelaxDepsHook
38 ];
39
40 propagatedBuildInputs = [
41 click
42 rich
43 tomli
44 pprintpp
45 cucumber-tag-expressions
46 click-default-group
47 click-completion
48 pluggy
49 ];
50
51 # Fixture is missing. Looks like an issue with the import of the sample file
52 doCheck = false;
53
54 pythonImportsCheck = [
55 "ward"
56 ];
57
58 meta = with lib; {
59 description = "Test framework for Python";
60 homepage = "https://github.com/darrenburns/ward";
61 changelog = "https://github.com/darrenburns/ward/releases/tag/release%2F${version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];
64 };
65}