Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 42b8090a0174
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8604575f6bfa
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jan 26, 2020

  1. ocamlPackages.dum: init at 1.0.1 (#74817)

    * ocamlPackages.dum: init at 1.0.1
    
    * Cleanup
    alexfmpe authored and Profpatsch committed Jan 26, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    8604575 View commit details
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/development/ocaml-modules/dum/default.nix
  2. +2 −0 pkgs/top-level/ocaml-packages.nix
28 changes: 28 additions & 0 deletions pkgs/development/ocaml-modules/dum/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, buildOcaml, ocaml
, easy-format
}:

buildOcaml rec {
name = "dum";
version = "1.0.1";

minimumOCamlVersion = "4.06";

src = fetchFromGitHub {
owner = "mjambon";
repo = name;
rev = "v${version}";
sha256 = "0yrxl97szjc0s2ghngs346x3y0xszx2chidgzxk93frjjpsr1mlr";
};

buildInputs = [ easy-format ];

doCheck = true;

meta = with lib; {
homepage = https://github.com/mjambon/dum;
description = "Inspect the runtime representation of arbitrary OCaml values";
license = licenses.lgpl21Plus;
maintainers = [ maintainers.alexfmpe ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
@@ -241,6 +241,8 @@ let

duff = callPackage ../development/ocaml-modules/duff { };

dum = callPackage ../development/ocaml-modules/dum { };

dune = callPackage ../development/tools/ocaml/dune { };

dune_2 = callPackage ../development/tools/ocaml/dune/2.nix { };