ocamlPackages.magic-trace: init at 1.1.0

This commit is contained in:
Ali Caglayan 2023-03-23 17:48:54 +01:00
parent 089467fefb
commit 1d9610bb93
No known key found for this signature in database
GPG Key ID: 59DD99D26B71EC5E
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, buildDunePackage, async, cohttp_static_handler
, core_unix, owee, ppx_jane, shell }:
buildDunePackage rec {
pname = "magic-trace";
version = "1.1.0";
minimalOCamlVersion = "4.12";
duneVersion = "3";
src = fetchFromGitHub {
owner = "janestreet";
repo = "magic-trace";
rev = "v${version}";
sha256 = "sha256-615AOkrbQI6vRosA5Kz3Epipe9f9+Gs9+g3bVl5gzBY=";
};
buildInputs = [ async cohttp_static_handler core_unix owee ppx_jane shell ];
meta = with lib; {
description =
"Collects and displays high-resolution traces of what a process is doing";
license = licenses.mit;
maintainers = [ maintainers.alizter ];
homepage = "https://github.com/janestreet/magic-trace";
};
}

View File

@ -895,6 +895,7 @@ let
magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
magic-trace = callPackage ../development/ocaml-modules/magic-trace { };
mariadb = callPackage ../development/ocaml-modules/mariadb {
inherit (pkgs) mariadb;