mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.dolog: 3.0 → 6.0.0
This commit is contained in:
parent
e9c32421d3
commit
29e6553d1f
@ -1,29 +1,19 @@
|
||||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
||||
{ lib, buildDunePackage, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-dolog";
|
||||
version = "3.0";
|
||||
buildDunePackage rec {
|
||||
pname = "dolog";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UnixJunkie";
|
||||
repo = "dolog";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-6wfqT5sqo4YA8XoHH3QhG6/TyzzXCzqjmnPuBArRoj8=";
|
||||
hash = "sha256-g68260mcb4G4wX8y4T0MTaXsYnM9wn2d0V1VCdSFZjY=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user