diff --git a/pkgs/development/ocaml-modules/xmlplaylist/default.nix b/pkgs/development/ocaml-modules/xmlplaylist/default.nix new file mode 100644 index 00000000000..a3017257350 --- /dev/null +++ b/pkgs/development/ocaml-modules/xmlplaylist/default.nix @@ -0,0 +1,25 @@ +{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, xmlm }: + +buildDunePackage rec { + pname = "xmlplaylist"; + version = "0.1.5"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "savonet"; + repo = "ocaml-xmlplaylist"; + rev = "v${version}"; + sha256 = "1x5lbwkr2ip00x8vyfbl8936yy79j138vx8a16ix7g9p2j5qsfcq"; + }; + + buildInputs = [ dune-configurator ]; + propagatedBuildInputs = [ xmlm ]; + + meta = with lib; { + homepage = "https://github.com/savonet/ocaml-xmlplaylist"; + description = "Module to parse various RSS playlist formats"; + license = licenses.lgpl21Only; + maintainers = with maintainers; [ dandellion ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index e5dced9b3fd..54b58fa2b01 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1463,6 +1463,8 @@ let xmlm = callPackage ../development/ocaml-modules/xmlm { }; + xmlplaylist = callPackage ../development/ocaml-modules/xmlplaylist { }; + xml-light = callPackage ../development/ocaml-modules/xml-light { }; xtmpl = callPackage ../development/ocaml-modules/xtmpl { };