ocamlPackages.zelus: init at 2.2
This commit is contained in:
parent
79dc25b48d
commit
cd8f19163a
2 changed files with 44 additions and 0 deletions
42
pkgs/development/ocaml-modules/zelus/default.nix
Normal file
42
pkgs/development/ocaml-modules/zelus/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -1880,6 +1880,8 @@ let
|
|||
|
||||
zed = callPackage ../development/ocaml-modules/zed { };
|
||||
|
||||
zelus = callPackage ../development/ocaml-modules/zelus { };
|
||||
|
||||
zmq = callPackage ../development/ocaml-modules/zmq { };
|
||||
|
||||
zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
|
||||
|
|
Loading…
Reference in a new issue