depot/third_party/nixpkgs/pkgs/development/ocaml-modules/zelus/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
787 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 = "Synchronous language with ODEs";
homepage = "https://zelus.di.ens.fr";
license = licenses.inria-zelus;
mainProgram = "zeluc";
maintainers = with maintainers; [ wegank ];
};
}