1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 multiprocess,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "btest";
12 version = "1.2";
13 pyproject = true;
14
15 disabled = pythonOlder "3.9";
16
17 src = fetchFromGitHub {
18 owner = "zeek";
19 repo = "btest";
20 tag = "v${version}";
21 hash = "sha256-c+iWzqq0RiRkZlRYjUCXIaFqgnyFdbMAWDNrVYZUvgw=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [ multiprocess ];
27
28 # No tests available and no module to import
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Generic Driver for Powerful System Tests";
33 homepage = "https://github.com/zeek/btest";
34 changelog = "https://github.com/zeek/btest/blob/${src.tag}/CHANGES";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ fab ];
37 };
38}