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


                      
                  
 

                  






                                                                    

    
                                              
 
                    





                                              
{ lib, buildDunePackage, fetchFromGitHub, gnuplot, iso8601 }:

buildDunePackage rec {
  pname = "gnuplot";
  version = "0.7";

  useDune2 = true;

  minimumOCamlVersion = "4.03";

  src = fetchFromGitHub {
    owner  = "c-cube";
    repo   = "ocaml-${pname}";
    rev    = "v${version}";
    sha256 = "02pzi3lb57ysrdsba743s3vmnapjbxgq8ynlzpxbbs6cn1jj6ch9";
  };

  propagatedBuildInputs = [ gnuplot iso8601 ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "Ocaml bindings to Gnuplot";
    maintainers = [ maintainers.bcdarwin ];
    license = licenses.lgpl21;
  };
}