nixpkgs/pkgs/development/ocaml-modules/gnuplot/default.nix

25 lines
574 B
Nix
Raw Normal View History

2020-03-26 02:57:03 +00:00
{ lib, buildDunePackage, fetchFromGitHub, gnuplot, iso8601 }:
2019-12-02 16:18:14 +00:00
buildDunePackage rec {
pname = "gnuplot";
2020-03-26 02:57:03 +00:00
version = "0.7";
2019-12-02 16:18:14 +00:00
2020-03-26 02:57:03 +00:00
minimumOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "c-cube";
repo = "ocaml-${pname}";
rev = "v${version}";
sha256 = "02pzi3lb57ysrdsba743s3vmnapjbxgq8ynlzpxbbs6cn1jj6ch9";
2019-12-02 16:18:14 +00:00
};
2020-03-26 02:57:03 +00:00
propagatedBuildInputs = [ gnuplot iso8601 ];
2019-12-02 16:18:14 +00:00
2020-03-26 02:57:03 +00:00
meta = with lib; {
2019-12-02 16:18:14 +00:00
inherit (src.meta) homepage;
description = "Ocaml bindings to Gnuplot";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl21;
};
}