depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-version/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

25 lines
674 B
Nix

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