nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 62 lines 1.1 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 ocaml-crunch, 6 angstrom, 7 async, 8 camlzip, 9 cohttp, 10 cohttp_static_handler ? null, 11 core, 12 core_unix ? null, 13 fzf, 14 owee, 15 ppx_jane, 16 re, 17 shell ? null, 18 zstandard ? null, 19}: 20 21buildDunePackage (finalAttrs: { 22 pname = "magic-trace"; 23 version = "1.2.4"; 24 25 minimalOCamlVersion = "4.12"; 26 27 src = fetchFromGitHub { 28 owner = "janestreet"; 29 repo = "magic-trace"; 30 tag = "v${finalAttrs.version}"; 31 hash = "sha256-LkhnlOd5rI8cbOYbVqrkRJ2qTcRn3Zzl6GjQEdjBjVA="; 32 }; 33 34 nativeBuildInputs = [ 35 ocaml-crunch 36 ]; 37 38 buildInputs = [ 39 angstrom 40 async 41 camlzip 42 cohttp 43 cohttp_static_handler 44 core 45 core_unix 46 fzf 47 owee 48 ppx_jane 49 re 50 shell 51 zstandard 52 ]; 53 54 meta = { 55 description = "Collects and displays high-resolution traces of what a process is doing"; 56 license = lib.licenses.mit; 57 maintainers = [ lib.maintainers.alizter ]; 58 homepage = "https://github.com/janestreet/magic-trace"; 59 platforms = lib.platforms.linux; 60 mainProgram = "magic-trace"; 61 }; 62})