vuls: init at 0.27.0 (#348530)
[NixPkgs.git] / pkgs / tools / misc / gradescope-submit / default.nix
blob54ae4b45838221cafd8789ee0ba16ef6fe6a29d7
1 { lib
2 , fetchFromGitHub
3 , ocamlPackages
4 }:
6 ocamlPackages.buildDunePackage rec {
7   pname = "gradescope_submit";
8   version = "2.0.2";
10   src = fetchFromGitHub {
11     owner = "nmittu";
12     repo = "gradescope-submit";
13     rev = version;
14     hash = "sha256-BVNXipgw0wz3PRGYvur8jrXZw/6i0fZ+MOZHzXzlFOk=";
15   };
17   buildInputs = with ocamlPackages; [
18     core
19     core_unix
20     cohttp
21     cohttp-lwt-unix
22     lambdasoup
23     toml
24     yojson
25     lwt_ssl
26   ];
28   meta = with lib; {
29     description = "Small script to submit to Gradescope via GitHub";
30     homepage = "https://github.com/nmittu/gradescope-submit";
31     license = licenses.mit;
32     maintainers = with maintainers; [ figsoda ];
33     mainProgram = "submit";
34   };