2020-10-07 09:15:18 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "ocaml-version";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "3.0.0";
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "15vk8sh50p3f2mbv8z7mqnx76cffri36f2krp25zkkwix8jg7ci4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|