Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 69 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ 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 ]; };}