mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #308810 from r-ryantm/auto-update/python311Packages.online-judge-tools
python311Packages.online-judge-tools: 11.5.1 -> 12.0.0
This commit is contained in:
commit
ba88dff1a6
@ -4,27 +4,37 @@
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
online-judge-api-client,
|
||||
packaging,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "online-judge-tools";
|
||||
version = "11.5.1";
|
||||
format = "setuptools";
|
||||
version = "12.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "online-judge-tools";
|
||||
repo = "oj";
|
||||
rev = "v${version}";
|
||||
sha256 = "0zkzmmjgjb6lyrzq1ip54cpnp7al9a7mcyjyi5vx58bvnx3q0c6m";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-m6V4Sq3yU/KPnbpA0oCLI/qaSrAPA6TutcBL5Crb/Cc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
colorama
|
||||
online-judge-api-client
|
||||
packaging
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"onlinejudge"
|
||||
"onlinejudge_command"
|
||||
];
|
||||
|
||||
# Requires internet access
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user