depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gnuplot/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

26 lines
594 B
Nix

{ 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;
};
}