2022-03-10 19:12:11 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, shine }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "shine";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "0.2.3";
|
2022-03-10 19:12:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-shine";
|
2023-03-04 12:14:45 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "sha256-x/ubqPXT89GWYV9KIyzny0rJDB3TBurLX71i0DlvHLU=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ shine ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/savonet/ocaml-shine";
|
|
|
|
description = "Bindings to the fixed-point mp3 encoding library shine";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ dandellion ];
|
|
|
|
};
|
|
|
|
}
|