nixpkgs/pkgs/development/ocaml-modules/mad/default.nix
Daniel Løvbrøtte Olsen f88f273291
Update liquidsoap and its dependencies (#310112)
* ocamlPackages.duppy: 0.9.3 -> 0.9.4

* ocamlPackages.ffmpeg: 1.1.8 -> 1.1.11

* ocamlPackages.lastfm: 0.3.3 -> 0.3.4

* ocamlPackages.uri: 4.2.0 -> 4.4.0

Diff: https://github.com/mirage/ocaml-uri/compare/None...v4.4.0

* ocamlPackages.gd4o: remove, ocamlPackages.gd: init at 1.1

* ocamlPackages.mad: 0.5.2 -> 0.5.3

Diff: https://github.com/savonet/ocaml-mad/compare/v0.5.2...v0.5.3

* ocamlPackages.tsdl-image: 0.5 -> 0.6

Diff: https://github.com/sanette/tsdl-image/compare/0.5...0.6

* liquidsoap: small package fixups

Diff: https://github.com/savonet/liquidsoap/compare/refs/tags/v2.2.4...v2.2.5
2024-05-21 07:38:49 +02:00

26 lines
699 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libmad }:
buildDunePackage rec {
pname = "mad";
version = "0.5.3";
minimalOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-mad";
rev = "v${version}";
sha256 = "sha256-rSFzWyUYTrGL7GvVsY5qKdCXqY/XJQkuBerexG838jc=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ libmad ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-mad";
description = "Bindings for the mad library which provides functions for encoding wave audio files into mp3";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dandellion ];
};
}