Merge pull request #262799 from vbgl/ocaml-brr-0.0.6

ocamlPackages.brr: 0.0.4 → 0.0.6; note: 0.0.2 → 0.0.3
This commit is contained in:
Ulrik Strid 2023-10-26 09:38:15 +02:00 committed by GitHub
commit b6c5a6058a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -2,18 +2,17 @@
, ocaml, findlib, ocamlbuild, topkg
, js_of_ocaml-compiler
, js_of_ocaml-toplevel
, note
}:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-brr";
version = "0.0.4";
version = "0.0.6";
src = fetchurl {
url = "https://erratique.ch/software/brr/releases/brr-${version}.tbz";
hash = "sha256-v+Ik1tdRBVnNDqhmNoJuLelL3k5OhxIsUorGdTb9sbw=";
hash = "sha256-paYZlzujXsG1S+s/4/kAPBlDuV1Ljorw7okAu4qaAV0=";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ];
propagatedBuildInputs = [ js_of_ocaml-compiler js_of_ocaml-toplevel note ];
propagatedBuildInputs = [ js_of_ocaml-compiler js_of_ocaml-toplevel ];
inherit (topkg) buildPhase installPhase;
meta = {

View File

@ -1,18 +1,20 @@
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, brr }:
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
"note is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-note";
version = "0.0.2";
version = "0.0.3";
src = fetchurl {
url = "https://erratique.ch/software/note/releases/note-${version}.tbz";
hash = "sha256-b35XcaDUXQLqwkNfsJKX5A1q1pAhw/mgdwyOdacZiiY=";
hash = "sha256-ZZOvCnyz7UWzFtGFI1uC0ZApzyylgZYM/HYIXGVXY2k=";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ];
inherit (topkg) buildPhase installPhase;
propagatedBuildInputs = [ brr ];
meta = {
homepage = "https://erratique.ch/software/note";
description = "An OCaml module for functional reactive programming";