Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
70 lines
1.2 KiB
Nix
70 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
|
|
certifi,
|
|
charset-normalizer,
|
|
enochecker-core,
|
|
exceptiongroup,
|
|
idna,
|
|
iniconfig,
|
|
jsons,
|
|
packaging,
|
|
pluggy,
|
|
pytest,
|
|
requests,
|
|
tomli,
|
|
typish,
|
|
urllib3,
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "enochecker-test";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "enochecker_test";
|
|
hash = "sha256-M0RTstFePU7O51YVEncVDuuR6F7R8mfdKbO0j7k/o8Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
];
|
|
|
|
pythonRelaxDeps = true;
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
charset-normalizer
|
|
enochecker-core
|
|
exceptiongroup
|
|
idna
|
|
iniconfig
|
|
jsons
|
|
packaging
|
|
pluggy
|
|
pytest
|
|
requests
|
|
tomli
|
|
typish
|
|
urllib3
|
|
];
|
|
|
|
# tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Automatically test services/checker using the enochecker API";
|
|
mainProgram = "enochecker_test";
|
|
homepage = "https://github.com/enowars/enochecker_test";
|
|
changelog = "https://github.com/enowars/enochecker_test/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fwc ];
|
|
};
|
|
}
|