nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 59 lines 1.5 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ocaml, 6 findlib, 7 topkg, 8 ocamlbuild, 9 cmdliner, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 14 pname = "ocaml${ocaml.version}-b0"; 15 version = "0.0.5"; 16 17 src = fetchurl { 18 url = "https://erratique.ch/software/b0/releases/b0-${finalAttrs.version}.tbz"; 19 sha256 = "sha256-ty04JQcP4RCme/VQw0ko2IBebWWX5cBU6nRTTeV1I/I="; 20 }; 21 22 strictDeps = true; 23 24 nativeBuildInputs = [ 25 ocaml 26 findlib 27 ocamlbuild 28 topkg 29 ]; 30 buildInputs = [ 31 topkg 32 cmdliner 33 ]; 34 35 inherit (topkg) buildPhase installPhase; 36 37 meta = { 38 description = "Software construction and deployment kit"; 39 longDescription = '' 40 WARNING this package is unstable and work in progress, do not depend on 41 it. 42 B0 describes software construction and deployments using modular and 43 customizable definitions written in OCaml. B0 describes: 44 * Build environments. 45 * Software configuration, build and testing. 46 * Source and binary deployments. 47 * Software life-cycle procedures. 48 B0 also provides the B00 build library which provides abitrary build 49 abstraction with reliable and efficient incremental rebuilds. The B00 50 library can be and has been used on its own to devise domain specific 51 build systems. 52 ''; 53 homepage = "https://erratique.ch/software/b0"; 54 inherit (ocaml.meta) platforms; 55 license = lib.licenses.isc; 56 maintainers = [ lib.maintainers.Julow ]; 57 broken = !(lib.versionAtLeast ocaml.version "4.08"); 58 }; 59})