diff --git a/pkgs/development/ocaml-modules/xmlplaylist/default.nix b/pkgs/development/ocaml-modules/xmlplaylist/default.nix index a9294cf162df..1ad42afbf26a 100644 --- a/pkgs/development/ocaml-modules/xmlplaylist/default.nix +++ b/pkgs/development/ocaml-modules/xmlplaylist/default.nix @@ -6,26 +6,24 @@ xmlm, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "xmlplaylist"; version = "0.1.5"; - useDune2 = true; - src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-xmlplaylist"; - rev = "v${version}"; - sha256 = "1x5lbwkr2ip00x8vyfbl8936yy79j138vx8a16ix7g9p2j5qsfcq"; + tag = "v${finalAttrs.version}"; + hash = "sha256-mDmNixQ3vdOjCQr1jUaQ6XhvRkJ0Ob9RB+BGkSdftPQ="; }; buildInputs = [ dune-configurator ]; propagatedBuildInputs = [ xmlm ]; - meta = with lib; { + meta = { homepage = "https://github.com/savonet/ocaml-xmlplaylist"; description = "Module to parse various RSS playlist formats"; - license = licenses.lgpl21Only; - maintainers = with maintainers; [ dandellion ]; + license = lib.licenses.lgpl21Only; + maintainers = with lib.maintainers; [ dandellion ]; }; -} +})