diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-12-07 06:54:43 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2019-12-14 15:57:36 +0100 |
commit | b5e82ad23967c349f99a222df10040c8f5f8fb64 (patch) | |
tree | 2553a93988a70fdae2f27832b83ccaff89f932c0 /pkgs/development/ocaml-modules/ocaml-version | |
parent | 5746e9fd9173dcb74b9611057d854654ab7db5f0 (diff) | |
download | nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar.gz nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar.bz2 nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar.lz nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar.xz nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.tar.zst nixlib-b5e82ad23967c349f99a222df10040c8f5f8fb64.zip |
ocamlPackages.ocaml-version: init at 2.3.0
Diffstat (limited to 'pkgs/development/ocaml-modules/ocaml-version')
-rw-r--r-- | pkgs/development/ocaml-modules/ocaml-version/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ocaml-version/default.nix b/pkgs/development/ocaml-modules/ocaml-version/default.nix new file mode 100644 index 000000000000..45761e980498 --- /dev/null +++ b/pkgs/development/ocaml-modules/ocaml-version/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchurl, buildDunePackage, result }: + +buildDunePackage rec { + + pname = "ocaml-version"; + version = "2.3.0"; + + src = fetchurl { + url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-v${version}.tbz"; + sha256 = "0c711lifl35xila9k0rvhijy9zm3shd37q3jgw7xf01hn1swg0hn"; + }; + + propagatedBuildInputs = [ result ]; + + 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 ]; + }; + +} |