Unverified Commit 6bfa0865 authored by Vincent Laporte's avatar Vincent Laporte
Browse files

ocamlPackages.semaphore-compat: small cleaning

parent 67161391
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -4,24 +4,22 @@
  fetchurl,
}:

buildDunePackage rec {
buildDunePackage (finalAttrs: {
  pname = "semaphore-compat";
  version = "1.0.2";

  src = fetchurl {
    url = "https://github.com/mirage/semaphore-compat/releases/download/${version}/semaphore-compat-${version}.tbz";
    sha256 = "sha256-4CnZ2vX17IPpnlA7CNeuxZEKfA5HFoeQvwH0tCKNRnY=";
    url = "https://github.com/mirage/semaphore-compat/releases/download/${finalAttrs.version}/semaphore-compat-${finalAttrs.version}.tbz";
    hash = "sha256-4CnZ2vX17IPpnlA7CNeuxZEKfA5HFoeQvwH0tCKNRnY=";
  };

  useDune2 = true;

  meta = with lib; {
  meta = {
    description = "Compatibility Semaphore module";
    homepage = "https://github.com/mirage/semaphore-compat";
    license = with licenses; [
    license = with lib.licenses; [
      lgpl21Plus
      ocamlLgplLinkingException
    ];
    maintainers = [ maintainers.sternenseemann ];
    maintainers = [ lib.maintainers.sternenseemann ];
  };
}
})