Skip to content

Commit

Permalink
opam: dune-based generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed Aug 20, 2019
1 parent 87fda8e commit 43adbac
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 13 deletions.
56 changes: 44 additions & 12 deletions bistro.opam
Original file line number Diff line number Diff line change
@@ -1,18 +1,38 @@
opam-version: "1.2"
name: "bistro"
version: "dev"
maintainer: "Philippe Veber <[email protected]>"
authors: "Philippe Veber <[email protected]>"
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "A library to build and run distributed scientific workflows"
description: """

bistro is an OCaml library to build and run computations represented
by a collection of interdependent scripts, as is often found in
data analysis (especially computational biology).

Features:
- build complex and composable workflows declaratively
- simple and lightweight wrapping of new components
- resume-on-failure: if something fails, fix it and the workflow will
restart from where it stopped
- parallel workflow execution
- development-friendly: when a script is modified, bistro
automatically finds out what needs to be recomputed
- automatic naming of generated files
- static typing: detect file format errors at compile time!

The library provides a datatype to represent scripts (including
metadata and dependencies), an engine to run workflows and a standard
library providing components for popular tools (although mostly
related to computational biology and unix for now).
"""
maintainer: ["[email protected]"]
authors: ["Philippe Veber"]
license: "CeCILL-B"
homepage: "https://github.com/pveber/bistro/"
dev-repo: "https://github.com/pveber/bistro.git"
bug-reports: "https://github.com/pveber/bistro/issues"
license: "GPL"
build: ["jbuilder" "build" "-p" name "-j" jobs]
depends: [
"base64"
"bos"
"jbuilder" {build & >= "1.0+beta8"}
"core" {>= "0.11.0"}
"dune" {> "1.6"}
"core" {>= "0.12.0"}
"lwt" {>= "3.2.0"}
"lwt_react"
"ocamlgraph" {>= "1.8.7"}
Expand All @@ -21,6 +41,18 @@ depends: [
"sexplib" {>= "113.24.00"}
"tyxml" {>= "4.0"}
]
available: [
ocaml-version >= "4.03.0"
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/pveber/bistro.git"
49 changes: 48 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1 +1,48 @@
(lang dune 1.5)
(lang dune 1.11)
(generate_opam_files true)

(name bistro)
(source (github pveber/bistro))
(homepage "https://github.com/pveber/bistro/")
(bug_reports "https://github.com/pveber/bistro/issues")
(license CeCILL-B)
(authors "Philippe Veber")
(maintainers "[email protected]")

(package
(name bistro)
(synopsis "A library to build and run distributed scientific workflows")
(description "
bistro is an OCaml library to build and run computations represented
by a collection of interdependent scripts, as is often found in
data analysis (especially computational biology).
Features:
- build complex and composable workflows declaratively
- simple and lightweight wrapping of new components
- resume-on-failure: if something fails, fix it and the workflow will
restart from where it stopped
- parallel workflow execution
- development-friendly: when a script is modified, bistro
automatically finds out what needs to be recomputed
- automatic naming of generated files
- static typing: detect file format errors at compile time!
The library provides a datatype to represent scripts (including
metadata and dependencies), an engine to run workflows and a standard
library providing components for popular tools (although mostly
related to computational biology and unix for now).
")
(tags (bioinformatics workflow pipeline))
(depends
base64
bos
(dune (> 1.6))
(core (>= 0.12.0))
(lwt (>= 3.2.0))
lwt_react
(ocamlgraph (>= 1.8.7))
ppx_sexp_conv
rresult
(sexplib (>= 113.24.00))
(tyxml (>= 4.0))))

0 comments on commit 43adbac

Please sign in to comment.