Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zarith_stubs_js v0.17.0 in nix-shell #1233

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import sources.nixpkgs {
dolmen_loop = pkgs.callPackage ./dolmen_loop.nix { };
landmarks = pkgs.callPackage ./landmarks.nix { };
landmarks-ppx = pkgs.callPackage ./landmarks-ppx.nix { };
zarith_stubs_js = pkgs.callPackage ./zarith_stubs_js.nix { };
});
})
];
Expand Down
8 changes: 8 additions & 0 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,13 @@
"url": "https://github.com/Armael/pp_loc/archive/d8162fd289849ea2f4125054ab88540416bdaa25.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "2.1.0"
},
"zarith_stubs_js": {
"branch": "v0.17.0",
"sha256": "07anr6r4chbpgd7c5ixfqgqr99kb202bd7q350hdqynrn7v6rn20",
"type": "tarball",
"url": "https://github.com/janestreet/zarith_stubs_js/archive/refs/tags/v0.17.0.tar.gz",
"url_template": "https://github.com/janestreet/zarith_stubs_js/archive/refs/tags/v0.17.0.tar.gz",
"version": "0.17.0"
}
}
16 changes: 16 additions & 0 deletions nix/zarith_stubs_js.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ sources, lib, ocamlPackages }:

let
zarith_stubs_js = sources.zarith_stubs_js;
in

ocamlPackages.buildDunePackage {
strictDeps = true;
pname = "zarith_stubs_js";
inherit (zarith_stubs_js) version;

minimalOCamlVersion = "4.08";
duneVersion = "3";

src = zarith_stubs_js;
}
Loading