depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocaml-version/default.nix
Default email 48af15f7a5 Project import generated by Copybara.
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
2021-03-20 04:20:00 +00:00

24 lines
611 B
Nix

{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "ocaml-version";
version = "3.0.0";
minimumOCamlVersion = "4.07";
useDune2 = true;
src = fetchurl {
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
sha256 = "15vk8sh50p3f2mbv8z7mqnx76cffri36f2krp25zkkwix8jg7ci4";
};
meta = {
description = "Manipulate, parse and generate OCaml compiler version strings";
homepage = "https://github.com/ocurrent/ocaml-version";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}