1{
2 lib,
3 buildPythonApplication,
4 fetchPypi,
5 pythonOlder,
6
7 certifi,
8 charset-normalizer,
9 enochecker-core,
10 exceptiongroup,
11 idna,
12 iniconfig,
13 jsons,
14 packaging,
15 pluggy,
16 pytest,
17 requests,
18 tomli,
19 typish,
20 urllib3,
21}:
22
23buildPythonApplication rec {
24 pname = "enochecker-test";
25 version = "0.9.0";
26 format = "setuptools";
27
28 disabled = pythonOlder "3.8";
29
30 src = fetchPypi {
31 inherit version;
32 pname = "enochecker_test";
33 hash = "sha256-M0RTstFePU7O51YVEncVDuuR6F7R8mfdKbO0j7k/o8Q=";
34 };
35
36 nativeBuildInputs = [
37 ];
38
39 pythonRelaxDeps = true;
40
41 propagatedBuildInputs = [
42 certifi
43 charset-normalizer
44 enochecker-core
45 exceptiongroup
46 idna
47 iniconfig
48 jsons
49 packaging
50 pluggy
51 pytest
52 requests
53 tomli
54 typish
55 urllib3
56 ];
57
58 # tests require network access
59 doCheck = false;
60
61 meta = with lib; {
62 description = "Automatically test services/checker using the enochecker API";
63 mainProgram = "enochecker_test";
64 homepage = "https://github.com/enowars/enochecker_test";
65 changelog = "https://github.com/enowars/enochecker_test/releases/tag/v${version}";
66 license = licenses.mit;
67 maintainers = with maintainers; [ fwc ];
68 };
69}