@@ -0,0 +1,22 @@
1+{ lib, fetchurl, buildDunePackage, result }:
2+
3+buildDunePackage rec {
4+
5+ pname = "ocaml-version";
6+ version = "2.3.0";
7+
8+ src = fetchurl {
9+ url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz";
10+ sha256 = "0c711lifl35xila9k0rvhijy9zm3shd37q3jgw7xf01hn1swg0hn";
11+ };
12+
13+ propagatedBuildInputs = [ result ];
14+
15+ meta = {
16+ description = "Manipulate, parse and generate OCaml compiler version strings";
17+ homepage = "https://github.com/ocurrent/ocaml-version";
18+ license = lib.licenses.isc;
19+ maintainers = [ lib.maintainers.vbgl ];
20+ };
21+
22+}