diff --git a/pkgs/development/ocaml-modules/trie/default.nix b/pkgs/development/ocaml-modules/trie/default.nix index f0101bb73139..d0f6975b9c45 100644 --- a/pkgs/development/ocaml-modules/trie/default.nix +++ b/pkgs/development/ocaml-modules/trie/default.nix @@ -4,24 +4,22 @@ fetchFromGitHub, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "trie"; version = "1.0.0"; - useDune2 = true; - src = fetchFromGitHub { owner = "kandu"; - repo = pname; - rev = version; - sha256 = "0s7p9swjqjsqddylmgid6cv263ggq7pmb734z4k84yfcrgb6kg4g"; + repo = "trie"; + tag = finalAttrs.version; + hash = "sha256-j7xp1svMeYIm+WScVe/B7w0jNjMtvkp9a1hLLLlO92g="; }; meta = { - inherit (src.meta) homepage; + homepage = "https://github.com/kandu/trie/"; license = lib.licenses.mit; description = "Strict impure trie tree"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})