polkit: fix building with clang (#376893)
[NixPkgs.git] / pkgs / development / ocaml-modules / semver / default.nix
blob3529f481c33f9bad722c1181208cc01295b580c6
2   lib,
3   fetchurl,
4   buildDunePackage,
5   ocaml,
6   alcotest,
7 }:
9 buildDunePackage rec {
10   pname = "semver";
11   version = "0.2.1";
12   src = fetchurl {
13     url = "https://github.com/rgrinberg/ocaml-semver/releases/download/${version}/semver-${version}.tbz";
14     hash = "sha256-CjzDUtoe5Hvt6zImb+EqVIulRUUUQd9MmuJ4BH/2mLg=";
15   };
17   doCheck = lib.versionAtLeast ocaml.version "4.08";
18   checkInputs = [ alcotest ];
20   meta = {
21     homepage = "https://github.com/rgrinberg/ocaml-semver";
22     description = "Semantic versioning module";
23     license = lib.licenses.bsd3;
24     maintainers = [ lib.maintainers.ulrikstrid ];
25   };