summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/vorbis/default.nix
blob: f33182e5fc192622c834896bd8069c98cb5ee232 (plain) (blame)
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
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, ogg, libvorbis }:

buildDunePackage rec {
  pname = "vorbis";
  version = "0.8.0";

  useDune2 = true;

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-vorbis";
    rev = "v${version}";
    sha256 = "1acy7yvf2y5dggzxw4vmrpdipakr98si3pw5kxw0mh7livn08al8";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ ogg libvorbis ];

  meta = with lib; {
    homepage = "https://github.com/savonet/ocaml-vorbis";
    description = "Bindings to libvorbis";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ dandellion ];
  };
}