Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage, stdlib-shims }:
2
3buildDunePackage rec {
4 pname = "ocamlgraph";
5 version = "2.0.0";
6
7 src = fetchurl {
8 url = "https://github.com/backtracking/ocamlgraph/releases/download/${version}/ocamlgraph-${version}.tbz";
9 sha256 = "029692bvdz3hxpva9a2jg5w5381fkcw55ysdi8424lyyjxvjdzi0";
10 };
11
12 minimalOCamlVersion = "4.03";
13 useDune2 = true;
14
15 propagatedBuildInputs = [
16 stdlib-shims
17 ];
18
19 meta = with lib; {
20 homepage = "http://ocamlgraph.lri.fr/";
21 downloadPage = "https://github.com/backtracking/ocamlgraph";
22 description = "Graph library for OCaml";
23 license = licenses.gpl2Oss;
24 maintainers = with maintainers; [ ];
25 };
26}