2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ocamlPackages
|
|
|
|
}:
|
|
|
|
|
|
|
|
ocamlPackages.buildDunePackage rec {
|
|
|
|
pname = "gradescope_submit";
|
|
|
|
version = "2.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nmittu";
|
|
|
|
repo = "gradescope-submit";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-BVNXipgw0wz3PRGYvur8jrXZw/6i0fZ+MOZHzXzlFOk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
|
|
core
|
|
|
|
core_unix
|
|
|
|
cohttp
|
|
|
|
cohttp-lwt-unix
|
|
|
|
lambdasoup
|
|
|
|
toml
|
|
|
|
yojson
|
|
|
|
lwt_ssl
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small script to submit to Gradescope via GitHub";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/nmittu/gradescope-submit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
mainProgram = "submit";
|
|
|
|
};
|
|
|
|
}
|