online-judge-verify-helper: init at 5.6.0 (#420544)
This commit is contained in:
commit
f545b4714e
@ -25786,6 +25786,12 @@
|
||||
githubId = 90456;
|
||||
name = "Rebecca (Bex) Kelly";
|
||||
};
|
||||
toyboot4e = {
|
||||
email = "toyboot4e@gmail.com";
|
||||
github = "toyboot4e";
|
||||
githubId = 47905926;
|
||||
name = "toyboot4e";
|
||||
};
|
||||
tpw_rules = {
|
||||
name = "Thomas Watson";
|
||||
email = "twatson52@icloud.com";
|
||||
|
||||
4
pkgs/by-name/on/online-judge-verify-helper/package.nix
Normal file
4
pkgs/by-name/on/online-judge-verify-helper/package.nix
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
python3Packages,
|
||||
}:
|
||||
python3Packages.toPythonApplication python3Packages.online-judge-verify-helper
|
||||
@ -0,0 +1,69 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
colorlog,
|
||||
importlab,
|
||||
online-judge-tools,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
toml,
|
||||
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "online-judge-verify-helper";
|
||||
version = "5.6.0";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "online-judge-tools";
|
||||
repo = "verification-helper";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-sBR9/rf8vpDRbRD8HO2VNmxVckXPmPjUih7ogLRFaW8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
colorlog
|
||||
importlab
|
||||
online-judge-tools
|
||||
pyyaml
|
||||
setuptools
|
||||
toml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# No additional dependencies or network access
|
||||
disabledTestPaths = [
|
||||
"tests/test_docs.py"
|
||||
"tests/test_python.py"
|
||||
"tests/test_rust.py"
|
||||
"tests/test_stats.py"
|
||||
"tests/test_verify.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"onlinejudge"
|
||||
"onlinejudge_bundle"
|
||||
"onlinejudge_verify"
|
||||
"onlinejudge_verify_resources"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Testing framework for snippet libraries used in competitive programming";
|
||||
mainProgram = "oj-verify";
|
||||
homepage = "https://github.com/online-judge-tools/verification-helper";
|
||||
changelog = "https://github.com/online-judge-tools/verification-helper/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ toyboot4e ];
|
||||
};
|
||||
}
|
||||
@ -10681,6 +10681,10 @@ self: super: with self; {
|
||||
|
||||
online-judge-tools = callPackage ../development/python-modules/online-judge-tools { };
|
||||
|
||||
online-judge-verify-helper =
|
||||
callPackage ../development/python-modules/online-judge-verify-helper
|
||||
{ };
|
||||
|
||||
onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { };
|
||||
|
||||
onnx = callPackage ../development/python-modules/onnx { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user