Merge pull request #279671 from vbgl/ocaml-trace-0.5
ocamlPackages.trace: 0.3 → 0.5
This commit is contained in:
commit
6cd98a7a75
2 changed files with 12 additions and 3 deletions
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "trace";
|
||||
version = "0.3";
|
||||
version = "0.5";
|
||||
|
||||
minimalOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/c-cube/ocaml-trace/releases/download/${version}/trace-${version}.tbz";
|
||||
hash = "sha256-Krq6qYO7tKJktTRjFrdmONPHfjrd81Ighsb9nmG9ZQU=";
|
||||
url = "https://github.com/c-cube/ocaml-trace/releases/download/v${version}/trace-${version}.tbz";
|
||||
hash = "sha256-l0NvWPGBd1WR+b50WXEYfptuCUjda8MlZ/o5YngRNIg=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -4,6 +4,15 @@ buildDunePackage {
|
|||
pname = "trace-tef";
|
||||
inherit (trace) src version;
|
||||
|
||||
# This removes the dependency on the “atomic” package
|
||||
# (not available in nixpkgs)
|
||||
# Said package for OCaml ≥ 4.12 is empty
|
||||
postPatch = ''
|
||||
substituteInPlace src/tef/dune --replace 'atomic ' ""
|
||||
'';
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
propagatedBuildInputs = [ mtime trace ];
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue