mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adds ocaml-dolog-1.0
dolog is a minimalistic lazy logger in OCaml Homepage: https://github.com/UnixJunkie/dolog
This commit is contained in:
parent
d52b6f1d3e
commit
20b150b26c
26
pkgs/development/ocaml-modules/dolog/default.nix
Normal file
26
pkgs/development/ocaml-modules/dolog/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchzip, ocaml, findlib }:
|
||||
|
||||
let version = "1.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-dolog-${version}";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
|
||||
sha256 = "1yy3a0h9xn5mv8q38yx5jgavj2hgfw42mdnrzixl25pqx7idvcmf";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/UnixJunkie/dolog;
|
||||
description = "Minimalistic lazy logger in OCaml";
|
||||
platforms = ocaml.meta.platforms;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -3969,6 +3969,8 @@ let
|
||||
|
||||
deriving = callPackage ../development/tools/ocaml/deriving { };
|
||||
|
||||
dolog = callPackage ../development/ocaml-modules/dolog { };
|
||||
|
||||
easy-format = callPackage ../development/ocaml-modules/easy-format { };
|
||||
|
||||
eff = callPackage ../development/interpreters/eff { };
|
||||
|
Loading…
Reference in New Issue
Block a user