mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
31 lines
710 B
Nix
31 lines
710 B
Nix
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml-dolog";
|
|
version = "3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "UnixJunkie";
|
|
repo = "dolog";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-6wfqT5sqo4YA8XoHH3QhG6/TyzzXCzqjmnPuBArRoj8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
strictDeps = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|