Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
25 lines
699 B
Nix
25 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 ];
|
|
};
|
|
}
|