mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
Merge pull request #252220 from figsoda/gs
This commit is contained in:
commit
185066770d
35
pkgs/tools/misc/gradescope-submit/default.nix
Normal file
35
pkgs/tools/misc/gradescope-submit/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user