forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / ocaml-version / default.nix
bloba8a998299a95f9f3c93f56a31a8e3c85bd17d5d1
1 { lib, fetchurl, buildDunePackage, alcotest }:
3 buildDunePackage rec {
4   pname = "ocaml-version";
5   version = "3.6.9";
7   src = fetchurl {
8     url = "https://github.com/ocurrent/ocaml-version/releases/download/v${version}/ocaml-version-${version}.tbz";
9     hash = "sha256-NcelYCcDPooOP7GfWr2m27GDikKiMqezcvRfFmBzlYY=";
10   };
12   checkInputs = [ alcotest ];
14   doCheck = true;
16   minimalOCamlVersion = "4.07";
17   duneVersion = "3";
19   meta = with lib; {
20     description = "Manipulate, parse and generate OCaml compiler version strings";
21     homepage = "https://github.com/ocurrent/ocaml-version";
22     license = licenses.isc;
23     maintainers = with maintainers; [ vbgl ];
24   };