Merge pull request #252220 from figsoda/gs

This commit is contained in:
figsoda 2023-08-30 22:10:08 -04:00 committed by GitHub
commit 185066770d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ 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; {
description = "A small script to submit to Gradescope via GitHub";
homepage = "https://github.com/nmittu/gradescope-submit";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "submit";
};
}

View File

@ -692,6 +692,8 @@ with pkgs;
gpick = callPackage ../tools/misc/gpick { };
gradescope-submit = callPackage ../tools/misc/gradescope-submit { };
gridlock = callPackage ../tools/nix/gridlock { };
inherit (gridlock) nyarr;