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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
594 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
2021-04-05 13:12:18 +00:00
useDune2 = true;
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;
};
}