diff --git a/pkgs/development/ocaml-modules/data-encoding/default.nix b/pkgs/development/ocaml-modules/data-encoding/default.nix index 7bd01ff83157..5a17abdcc532 100644 --- a/pkgs/development/ocaml-modules/data-encoding/default.nix +++ b/pkgs/development/ocaml-modules/data-encoding/default.nix @@ -14,15 +14,18 @@ , ppx_expect }: -buildDunePackage { +buildDunePackage rec { pname = "data-encoding"; - version = "0.5.3"; + version = "0.6"; + + duneVersion = "3"; + minimalOCamlVersion = "4.10"; src = fetchFromGitLab { owner = "nomadic-labs"; repo = "data-encoding"; - rev = "v0.5.3"; - sha256 = "sha256-HMNpjh5x7vU/kXQNRjJtOvShEENoNuxjNNPBJfm+Rhg="; + rev = "v${version}"; + hash = "sha256-oQEV7lTG+/q1UcPsepPM4yN4qia6tEtRPkTkTVdGXE0="; }; propagatedBuildInputs = [