anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / ward / default.nix
blob6c4327549bb5afd80f41373d90d13bf0c2da97d3
2   lib,
3   buildPythonPackage,
4   click,
5   click-completion,
6   click-default-group,
7   cucumber-tag-expressions,
8   fetchFromGitHub,
9   pluggy,
10   poetry-core,
11   pprintpp,
12   pythonOlder,
13   rich,
14   tomli,
17 buildPythonPackage rec {
18   pname = "ward";
19   version = "0.68.0b0";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "darrenburns";
26     repo = "ward";
27     rev = "refs/tags/release%2F${version}";
28     hash = "sha256-4dEMEEPySezgw3dIcYMl56HrhyaYlql9JvtamOn7Y8g=";
29   };
31   build-system = [ poetry-core ];
33   dependencies = [
34     click
35     rich
36     tomli
37     pprintpp
38     cucumber-tag-expressions
39     click-default-group
40     click-completion
41     pluggy
42   ];
44   # Fixture is missing. Looks like an issue with the import of the sample file
45   doCheck = false;
47   pythonImportsCheck = [ "ward" ];
49   meta = with lib; {
50     description = "Test framework for Python";
51     homepage = "https://github.com/darrenburns/ward";
52     changelog = "https://github.com/darrenburns/ward/releases/tag/release%2F${version}";
53     license = licenses.mit;
54     maintainers = with maintainers; [ fab ];
55     mainProgram = "ward";
56     # Old requirements (cucumber-tag-expressions and rich)
57     # https://github.com/darrenburns/ward/issues/380
58     broken = versionAtLeast rich.version "13.0.0";
59   };