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