nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 ocaml,
4 buildDunePackage,
5 fetchurl,
6 num,
7 lutils,
8 ounit,
9}:
10
11buildDunePackage rec {
12 pname = "rdbg";
13 version = "1.199.0";
14
15 env =
16 # Fix build with gcc15
17 lib.optionalAttrs
18 (
19 lib.versionAtLeast ocaml.version "4.10" && lib.versionOlder ocaml.version "4.14"
20 || lib.versions.majorMinor ocaml.version == "5.0"
21 )
22 {
23 NIX_CFLAGS_COMPILE = "-std=gnu11";
24 };
25
26 src = fetchurl {
27 url = "http://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/pool/rdbg.v${version}.tgz";
28 hash = "sha512:6076eaa3608a313f8ac71a4f5aa4fcc64aeb0c646d581e5035110d4c80f94de34f2ba26f90a9a1e92a7f788c9e799f1f7b0e3728c853a21983ad732f0ee60352";
29 };
30
31 buildInputs = [
32 num
33 ounit
34 ];
35
36 propagatedBuildInputs = [
37 lutils
38 ];
39
40 meta = {
41 homepage = "https://gricad-gitlab.univ-grenoble-alpes.fr/verimag/synchrone/rdbg";
42 description = "Programmable debugger that targets reactive programs for which a rdbg-plugin exists. Currently two plugins exist : one for Lustre, and one for Lutin (nb: both are synchronous programming languages)";
43 license = lib.licenses.cecill21;
44 maintainers = [ lib.maintainers.delta ];
45 };
46}