9aa7cc01ab
dune-release: 2.1.0 → 2.2.0 ocamlPackages.b0: 0.0.5 → 0.0.6 ocamlPackages.odig: 0.0.9 → 0.1.0 ocamlPackages.mirage-runtime: 4.10.1 → 4.10.2 ocamlPackages.carton: disable tests ocamlPackages.smtml: disable tests slipshow: disable some tests
60 lines
1.5 KiB
Nix
60 lines
1.5 KiB
Nix
{
|
||
lib,
|
||
stdenv,
|
||
fetchurl,
|
||
ocaml,
|
||
findlib,
|
||
topkg,
|
||
ocamlbuild,
|
||
cmdliner,
|
||
}:
|
||
|
||
stdenv.mkDerivation (finalAttrs: {
|
||
|
||
pname = "ocaml${ocaml.version}-b0";
|
||
version = "0.0.6";
|
||
|
||
src = fetchurl {
|
||
url = "https://erratique.ch/software/b0/releases/b0-${finalAttrs.version}.tbz";
|
||
hash = "sha256-FscuTlKqZ7fGJk0+aln6lvNtF7Ghph64A4ZVqCUE9ZM=";
|
||
};
|
||
|
||
strictDeps = true;
|
||
|
||
nativeBuildInputs = [
|
||
ocaml
|
||
findlib
|
||
ocamlbuild
|
||
topkg
|
||
];
|
||
buildInputs = [
|
||
topkg
|
||
cmdliner
|
||
];
|
||
|
||
inherit (topkg) buildPhase installPhase;
|
||
|
||
meta = {
|
||
description = "Software construction and deployment kit";
|
||
longDescription = ''
|
||
WARNING this package is unstable and work in progress, do not depend on
|
||
it.
|
||
B0 describes software construction and deployments using modular and
|
||
customizable definitions written in OCaml. B0 describes:
|
||
* Build environments.
|
||
* Software configuration, build and testing.
|
||
* Source and binary deployments.
|
||
* Software life-cycle procedures.
|
||
B0 also provides the B00 build library which provides abitrary build
|
||
abstraction with reliable and efficient incremental rebuilds. The B00
|
||
library can be – and has been – used on its own to devise domain specific
|
||
build systems.
|
||
'';
|
||
homepage = "https://erratique.ch/software/b0";
|
||
inherit (ocaml.meta) platforms;
|
||
license = lib.licenses.isc;
|
||
maintainers = [ lib.maintainers.Julow ];
|
||
broken = !lib.versionAtLeast ocaml.version "4.14";
|
||
};
|
||
})
|