a7f4d6bae9
* ocaml-version: 3.1.0 -> 3.4.0 * ocamlformat: 0.19.0 -> 0.20.0 * odoc-parser: refactor use version variable use version to compute the uri for the archive * odoc-parser: 0.9.0 -> 1.0.0 * odoc-parser: allow multiple versions allow both 0.9.0 and 1.0.0 to accommodate different version of ocamlformat * ocamlformat: 0.20.0 -> 0.20.1
21 lines
615 B
Nix
21 lines
615 B
Nix
{ lib, fetchurl, buildDunePackage }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocaml-version";
|
|
version = "3.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
|
|
sha256 = "sha256-2MG+tejY67dxC19DTOZqPsi3UrHk1rqHxP4nRSvbiiU=";
|
|
};
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
useDune2 = true;
|
|
|
|
meta = with lib; {
|
|
description = "Manipulate, parse and generate OCaml compiler version strings";
|
|
homepage = "https://github.com/ocurrent/ocaml-version";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|