forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / ocaml-modules / semver / default.nix
blob5f4880c0cf2efac49158347c2c148286f3995cbf
1 { lib, fetchurl, buildDunePackage, ocaml, alcotest }:
3 buildDunePackage rec {
4   pname = "semver";
5   version = "0.2.1";
6   src = fetchurl {
7     url = "https://github.com/rgrinberg/ocaml-semver/releases/download/${version}/semver-${version}.tbz";
8     hash = "sha256-CjzDUtoe5Hvt6zImb+EqVIulRUUUQd9MmuJ4BH/2mLg=";
9   };
11   doCheck = lib.versionAtLeast ocaml.version "4.08";
12   checkInputs = [ alcotest ];
14   meta = {
15     homepage = "https://github.com/rgrinberg/ocaml-semver";
16     description = "Semantic versioning module";
17     license = lib.licenses.bsd3;
18     maintainers = [ lib.maintainers.ulrikstrid ];
19   };