diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d23bd9108d..dee31730bf 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5866,47 +5866,47 @@ generate OCaml code from .glade files), libpanel, librsvg and quartz.") ;; Version 2 only, with linking exception. (license license:lgpl2.0))) -(define ocaml-reactiveData +(define-public ocaml-reactivedata ;; Future releases will use dune. (package - (name "ocaml-reactiveData") + (name "ocaml-reactivedata") (version "0.2.2") - (source - (origin - (method url-fetch) - (uri "https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz") - (sha256 - (base32 - "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng")) - (snippet - `(begin - (let ((makefile (open-file "Makefile" "a"))) - (display " + (source (origin + (method url-fetch) + (uri "https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz") + (sha256 + (base32 + "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng")) + (snippet + `(begin + (let ((makefile (open-file "Makefile" "a"))) + (display " install: \tocamlfind install reactiveData pkg/META _build/src/reactiveData.{a,cma,cmi,cmx,cmxa,cmxs} " makefile) - (close-port makefile)) - #t)))) + (close-port makefile)) + #t)))) (arguments `(#:phases (modify-phases %standard-phases (delete 'configure) (add-before 'build 'fix-deprecated - (lambda _ - (substitute* - "src/reactiveData.ml" - (("Pervasives.compare") "compare")) - #t))))) + (lambda _ + (substitute* + "src/reactiveData.ml" + (("Pervasives.compare") "compare")) + #t))))) (build-system ocaml-build-system) (native-inputs `(("ocamlbuild" ,ocamlbuild))) (propagated-inputs `(("ocaml-react" ,ocaml-react))) - (home-page - "https://github.com/ocsigen/reactiveData") - (synopsis - "Declarative events and signals for OCaml") + (home-page "https://github.com/ocsigen/reactiveData") + (synopsis "Declarative events and signals for OCaml") (description - "React is an OCaml module for functional reactive programming (FRP). It provides support to program with time varying values : declarative events and signals. React doesn't define any primitive event or signal, it lets the client chooses the concrete timeline.") + "React is an OCaml module for functional reactive programming (FRP). It +provides support to program with time varying values : declarative events and +signals. React doesn't define any primitive event or signal, it lets the +client chooses the concrete timeline.") (license license:lgpl2.1+)))