depot/third_party/nixpkgs/pkgs/development/ocaml-modules/zelus/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

42 lines
789 B
Nix

{ lib
, stdenv
, buildDunePackage
, fetchFromGitHub
, menhir
, menhirLib
}:
buildDunePackage rec {
pname = "zelus";
version = "2.2";
minimalOCamlVersion = "4.08.1";
src = fetchFromGitHub {
owner = "INRIA";
repo = "zelus";
rev = version;
hash = "sha256-NcGX343LProADtzJwlq1kmihLaya1giY6xv9ScvdgTA=";
};
# ./configure: cannot execute: required file not found
postPatch = lib.optionalString stdenv.isLinux ''
patchShebangs configure
'';
nativeBuildInputs = [
menhir
];
buildInputs = [
menhirLib
];
meta = with lib; {
description = "A synchronous language with ODEs";
homepage = "https://zelus.di.ens.fr";
license = licenses.inria-zelus;
mainProgram = "zeluc";
maintainers = with maintainers; [ wegank ];
};
}