depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-version/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

25 lines
674 B
Nix

{ lib, fetchurl, buildDunePackage, alcotest }:
buildDunePackage rec {
pname = "ocaml-version";
version = "3.6.2";
src = fetchurl {
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-${version}.tbz";
hash = "sha256-XJ0xq71ZiR39phQIULXFDLHoj3HntxLI+v2gR0Bp/rI=";
};
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 ];
};
}