2024-05-30 23:22:41 +02:00
|
|
|
{
|
|
|
|
description = "Projet de semantique de L3";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
config = { allowUnfree = true; };
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
ocamlLibs = with pkgs.ocamlPackages; [
|
2024-05-31 00:05:54 +02:00
|
|
|
camlidl
|
|
|
|
apron
|
2024-05-30 23:22:41 +02:00
|
|
|
findlib
|
|
|
|
zarith
|
|
|
|
menhir
|
|
|
|
menhirLib
|
|
|
|
odoc
|
|
|
|
utop
|
|
|
|
ocamlformat_0_26_0
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
2024-05-31 00:05:54 +02:00
|
|
|
mpfr
|
2024-05-30 23:22:41 +02:00
|
|
|
gnumake
|
|
|
|
dune_3
|
|
|
|
ocaml
|
|
|
|
graphviz
|
|
|
|
] ++ ocamlLibs;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|