Merge pull request #256411 from wegank/zelus-init
ocamlPackages.zelus{,-gtk}: init at 2.2
This commit is contained in:
@@ -620,6 +620,12 @@ in mkLicense lset) ({
|
|||||||
free = false;
|
free = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inria-zelus = {
|
||||||
|
fullName = "INRIA Non-Commercial License Agreement for the Zélus compiler";
|
||||||
|
url = "https://github.com/INRIA/zelus/raw/829f2b97cba93b0543a9ca0272269e6b8fdad356/LICENSE";
|
||||||
|
free = false;
|
||||||
|
};
|
||||||
|
|
||||||
ipa = {
|
ipa = {
|
||||||
spdxId = "IPA";
|
spdxId = "IPA";
|
||||||
fullName = "IPA Font License";
|
fullName = "IPA Font License";
|
||||||
|
|||||||
24
pkgs/development/ocaml-modules/zelus-gtk/default.nix
Normal file
24
pkgs/development/ocaml-modules/zelus-gtk/default.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{ buildDunePackage
|
||||||
|
, zelus
|
||||||
|
, lablgtk
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage {
|
||||||
|
pname = "zelus-gtk";
|
||||||
|
inherit (zelus) version src postPatch;
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.08.1";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
zelus
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
lablgtk
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Zelus GTK library";
|
||||||
|
inherit (zelus.meta) homepage license maintainers;
|
||||||
|
};
|
||||||
|
}
|
||||||
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1886,6 +1886,10 @@ let
|
|||||||
|
|
||||||
zed = callPackage ../development/ocaml-modules/zed { };
|
zed = callPackage ../development/ocaml-modules/zed { };
|
||||||
|
|
||||||
|
zelus = callPackage ../development/ocaml-modules/zelus { };
|
||||||
|
|
||||||
|
zelus-gtk = callPackage ../development/ocaml-modules/zelus-gtk { };
|
||||||
|
|
||||||
zmq = callPackage ../development/ocaml-modules/zmq { };
|
zmq = callPackage ../development/ocaml-modules/zmq { };
|
||||||
|
|
||||||
zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
|
zmq-lwt = callPackage ../development/ocaml-modules/zmq/lwt.nix { };
|
||||||
|
|||||||
Reference in New Issue
Block a user