From 7e701f586fc66240e05f5249c33c9bb830e48ca1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Thu, 13 Nov 2025 20:07:25 +0100 Subject: [PATCH] ocamlPackages.mew: small cleaning --- pkgs/development/ocaml-modules/mew/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/ocaml-modules/mew/default.nix b/pkgs/development/ocaml-modules/mew/default.nix index 479aae5283f0..654620e298a3 100644 --- a/pkgs/development/ocaml-modules/mew/default.nix +++ b/pkgs/development/ocaml-modules/mew/default.nix @@ -6,17 +6,15 @@ trie, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mew"; version = "0.1.0"; - useDune2 = true; - src = fetchFromGitHub { owner = "kandu"; - repo = pname; - rev = version; - sha256 = "0417xsghj92v3xa5q4dk4nzf2r4mylrx2fd18i7cg3nzja65nia2"; + repo = "mew"; + tag = finalAttrs.version; + hash = "sha256-QkVbjJLfjsdORKE50TP1lWThviWzEVxUH1skCZ/uJxA="; }; propagatedBuildInputs = [ @@ -25,10 +23,10 @@ buildDunePackage rec { ]; meta = { - inherit (src.meta) homepage; + homepage = "https://github.com/kandu/mew"; license = lib.licenses.mit; description = "Modal Editing Witch"; maintainers = [ lib.maintainers.vbgl ]; }; -} +})