summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/xmlplaylist/default.nix
blob: 1ad42afbf26aff9214af66d522cf40c55112f99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  dune-configurator,
  xmlm,
}:

buildDunePackage (finalAttrs: {
  pname = "xmlplaylist";
  version = "0.1.5";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-xmlplaylist";
    tag = "v${finalAttrs.version}";
    hash = "sha256-mDmNixQ3vdOjCQr1jUaQ6XhvRkJ0Ob9RB+BGkSdftPQ=";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ xmlm ];

  meta = {
    homepage = "https://github.com/savonet/ocaml-xmlplaylist";
    description = "Module to parse various RSS playlist formats";
    license = lib.licenses.lgpl21Only;
    maintainers = with lib.maintainers; [ dandellion ];
  };
})