mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
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:
commit
b6c5a6058a
@ -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 = {
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user