mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
27 lines
662 B
Nix
27 lines
662 B
Nix
{ stdenv, fetchzip, ocaml, findlib }:
|
|
|
|
let version = "1.1"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-dolog-${version}";
|
|
src = fetchzip {
|
|
url = "https://github.com/UnixJunkie/dolog/archive/v${version}.tar.gz";
|
|
sha256 = "093lmprb1v2ran3pyymcdq80xnsgdz7h76g764xsy97dba5ik40n";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|