nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 799 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7 ocamlbuild, 8 topkg, 9 brr, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "ocaml${ocaml.version}-note"; 14 version = "0.0.3"; 15 src = fetchurl { 16 url = "https://erratique.ch/software/note/releases/note-${version}.tbz"; 17 hash = "sha256-ZZOvCnyz7UWzFtGFI1uC0ZApzyylgZYM/HYIXGVXY2k="; 18 }; 19 buildInputs = [ 20 ocaml 21 findlib 22 ocamlbuild 23 topkg 24 ]; 25 inherit (topkg) buildPhase installPhase; 26 27 propagatedBuildInputs = [ brr ]; 28 29 meta = { 30 homepage = "https://erratique.ch/software/note"; 31 description = "OCaml module for functional reactive programming"; 32 license = lib.licenses.isc; 33 maintainers = [ lib.maintainers.vbgl ]; 34 inherit (ocaml.meta) platforms; 35 broken = !(lib.versionAtLeast ocaml.version "4.08"); 36 }; 37}