aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 563797f3ecc4007fb9f4b4d7caff611765c4a74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  description = "Vericert dependencies";

  inputs = { nixpkgs.url = "github:nixos/nixpkgs"; };

  outputs = { self, nixpkgs }:
    let
      pkgs = nixpkgs.legacyPackages.x86_64-linux;
      ncoq = pkgs.coq_8_14;
      ncoqPackages = pkgs.coqPackages_8_14;
    in {
      devShell.x86_64-linux = pkgs.mkShell {
        buildInputs = with pkgs;
          [ ncoq
            dune_2
            gcc
            ncoq.ocaml
            ncoq.ocamlPackages.findlib
            ncoq.ocamlPackages.menhir
            ncoq.ocamlPackages.ocamlgraph
            ncoq.ocamlPackages.menhirLib

            ncoq.ocamlPackages.ocp-indent
            ncoq.ocamlPackages.utop

            ncoqPackages.serapi
            python3
            python3Packages.alectryon
            python3Packages.sphinx_rtd_theme
          ];
      };
    };
}