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

27 lines
594 B
Nix
Raw Normal View History

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