summary refs log blame commit diff
path: root/pkgs/development/ocaml-modules/dum/default.nix
blob: 3faef36e8ec4b0c9e3a1c1ee0c83dfab7ed35ce8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                              


             
                         
                                      

                    

                         
                 



                                                                    
                                        
                                          
 

                    
                              
 
                    
                                                




                                                                                 
{ lib, stdenv, fetchFromGitHub, ocaml, findlib
, easy-format
}:

stdenv.mkDerivation rec {
  pname = "ocaml${ocaml.version}-dum";
  version = "1.0.1";

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

  nativeBuildInputs = [ ocaml findlib ];
  propagatedBuildInputs = [ easy-format ];

  strictDeps = true;

  createFindlibDestdir = 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 ];
  };
}