587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
674 B
Nix
25 lines
674 B
Nix
{ lib, fetchurl, buildDunePackage, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ocaml-version";
|
|
version = "3.6.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-${version}.tbz";
|
|
hash = "sha256-hHP2l0Jcz9YalxCY0wcgdH6zTz+OqRD6JOyjB+r539I=";
|
|
};
|
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
duneVersion = "3";
|
|
|
|
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 ];
|
|
};
|
|
}
|