blob: e01bcd8d09c3fc722971b5ed3888e5e41e7b5795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
description = "Vericert dependencies";
inputs = { nixpkgs.url = "github:nixos/nixpkgs"; };
outputs = { self, nixpkgs }:
let vericertDevPackages = pkgs:
let
ncoq = pkgs.coq_8_14;
ncoqPackages = pkgs.coqPackages_8_14;
in
pkgs.mkShell {
buildInputs = with pkgs;
[ ncoq ncoq.ocaml ncoqPackages.serapi dune_3 gcc python3 ]
++ (with ncoq.ocamlPackages; [ findlib menhir menhirLib ocamlgraph ocp-indent utop ])
++ (with python3Packages; [ alectryon sphinx_rtd_theme ]);
};
in {
devShell.x86_64-linux = vericertDevPackages nixpkgs.legacyPackages.x86_64-linux;
devShell.x86_64-darwin = vericertDevPackages nixpkgs.legacyPackages.x86_64-darwin;
};
}
|