mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Added bolt-1.4
This commit is contained in:
parent
c6fa8d0fd3
commit
50fccd0347
41
pkgs/development/ocaml-modules/bolt/default.nix
Normal file
41
pkgs/development/ocaml-modules/bolt/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, which }:
|
||||
|
||||
let inherit (stdenv.lib) getVersion versionAtLeast; in
|
||||
|
||||
assert versionAtLeast (getVersion ocaml) "4.00.0";
|
||||
assert versionAtLeast (getVersion findlib) "1.3.3";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "bolt-1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1043/${name}.tar.gz";
|
||||
sha256 = "1c807wrpxra9sbb34lajhimwra28ldxv04m570567lh2b04n38zy";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib which ];
|
||||
|
||||
# The custom `configure` script does not expect the --prefix
|
||||
# option. Installation is handled by ocamlfind.
|
||||
dontAddPrefix = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
buildFlags = "all";
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "tests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://bolt.x9c.fr";
|
||||
description = "A logging tool for the OCaml language";
|
||||
longDescription = ''
|
||||
Bolt is a logging tool for the OCaml language. It is inspired by and
|
||||
modeled after the famous log4j logging framework for Java.
|
||||
'';
|
||||
license = licenses.lgpl3;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [ maintainers.jirkamarsik ];
|
||||
};
|
||||
}
|
@ -3446,6 +3446,8 @@ let
|
||||
|
||||
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
|
||||
|
||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||
|
||||
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
||||
|
||||
camlp4 =
|
||||
|
Loading…
Reference in New Issue
Block a user