mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
36 lines
714 B
Nix
36 lines
714 B
Nix
{ 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 = "Small script to submit to Gradescope via GitHub";
|
|
homepage = "https://github.com/nmittu/gradescope-submit";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "submit";
|
|
};
|
|
}
|