2021-06-28 23:13:55 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, stdlib-shims }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildDunePackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocamlgraph";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-28 23:13:55 +00:00
|
|
|
url = "https://github.com/backtracking/ocamlgraph/releases/download/${version}/ocamlgraph-${version}.tbz";
|
|
|
|
sha256 = "029692bvdz3hxpva9a2jg5w5381fkcw55ysdi8424lyyjxvjdzi0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
stdlib-shims
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://ocamlgraph.lri.fr/";
|
|
|
|
downloadPage = "https://github.com/backtracking/ocamlgraph";
|
|
|
|
description = "Graph library for OCaml";
|
|
|
|
license = licenses.gpl2Oss;
|
|
|
|
maintainers = with maintainers; [ kkallio superherointj ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|