Unverified Commit 62f6c37a authored by Guy Chronister's avatar Guy Chronister
Browse files

ocamlPackages.poll: migrate to finalAttrs

parent eb589372
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,14 +8,14 @@
  ppx_optcomp,
}:

buildDunePackage rec {
buildDunePackage (finalAttrs: {
  pname = "poll";
  version = "0.3.1";

  minimalOCamlVersion = "4.13";

  src = fetchurl {
    url = "https://github.com/anuragsoni/poll/releases/download/${version}/poll-${version}.tbz";
    url = "https://github.com/anuragsoni/poll/releases/download/${finalAttrs.version}/poll-${finalAttrs.version}.tbz";
    hash = "sha256-IX6SivK/IMQaGgMgWiIsNgUSMHP6z1E/TSB0miaQ8pw=";
  };

@@ -37,8 +37,8 @@ buildDunePackage rec {
  meta = {
    description = "Portable OCaml interface to macOS/Linux/Windows native IO event notification mechanisms";
    homepage = "https://github.com/anuragsoni/poll";
    changelog = "https://github.com/anuragsoni/poll/blob/${version}/CHANGES.md";
    changelog = "https://github.com/anuragsoni/poll/blob/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sixstring982 ];
  };
}
})