3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/dolog/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

28 lines
693 B
Nix

{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
let version = "3.0"; in
stdenv.mkDerivation {
pname = "ocaml-dolog";
inherit version;
src = fetchzip {
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
sha256 = "0gx2s4509vkkkaikl2yp7k5x7bqv45s1y1vsy408d8rakd7yl1zb";
};
buildInputs = [ ocaml findlib ocamlbuild ];
createFindlibDestdir = true;
doCheck = true;
checkTarget = "test";
meta = {
homepage = "https://github.com/UnixJunkie/dolog";
description = "Minimalistic lazy logger in OCaml";
platforms = ocaml.meta.platforms or [];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ vbgl ];
};
}