diff --git a/pkgs/development/ocaml-modules/ladspa/default.nix b/pkgs/development/ocaml-modules/ladspa/default.nix index 7ff7a0311356..2abd00b92f29 100644 --- a/pkgs/development/ocaml-modules/ladspa/default.nix +++ b/pkgs/development/ocaml-modules/ladspa/default.nix @@ -6,26 +6,24 @@ ladspaH, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "ladspa"; version = "0.2.2"; - useDune2 = true; - src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-ladspa"; - rev = "v${version}"; - sha256 = "1y83infjaz9apzyvaaqw331zqdysmn3bpidfab061v3bczv4jzbz"; + tag = "v${finalAttrs.version}"; + hash = "sha256-f31J9mdr7GDAUq7Fu4at2jf8wxgcK7X9vyp9JZ2NA/k="; }; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ ladspaH ]; - meta = with lib; { + meta = { homepage = "https://github.com/savonet/ocaml-alsa"; description = "Bindings for the LADSPA API which provides audio effects"; - license = licenses.lgpl21Only; - maintainers = with maintainers; [ dandellion ]; + license = lib.licenses.lgpl21Only; + maintainers = [ lib.maintainers.dandellion ]; }; -} +})