c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
45 lines
817 B
Nix
45 lines
817 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchFromGitHub
|
|
, ocaml
|
|
, cmdliner
|
|
, spacetime_lib
|
|
, yojson
|
|
, cohttp
|
|
, ocaml_lwt
|
|
, cohttp-lwt-unix
|
|
, lambda-term
|
|
, stdlib-shims
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "prof_spacetime";
|
|
version = "0.3.0";
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lpw25";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1s88gf6x5almmyi58zx4q23w89mvahfjwhvyfg29ya5s1pjbc9hi";
|
|
};
|
|
|
|
buildInputs = [
|
|
cmdliner
|
|
spacetime_lib
|
|
yojson
|
|
cohttp
|
|
ocaml_lwt
|
|
cohttp-lwt-unix
|
|
lambda-term
|
|
stdlib-shims
|
|
];
|
|
|
|
meta = {
|
|
description = "A viewer for OCaml spacetime profiles";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.symphorien ];
|
|
broken = true; # 2022-10-20, doesn't work with updated lambda-term
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|