1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 dune-configurator,
6 shine,
7}:
8
9buildDunePackage rec {
10 pname = "shine";
11 version = "0.2.3";
12
13 src = fetchFromGitHub {
14 owner = "savonet";
15 repo = "ocaml-shine";
16 tag = "v${version}";
17 sha256 = "sha256-x/ubqPXT89GWYV9KIyzny0rJDB3TBurLX71i0DlvHLU=";
18 };
19
20 buildInputs = [ dune-configurator ];
21 propagatedBuildInputs = [ shine ];
22
23 meta = with lib; {
24 homepage = "https://github.com/savonet/ocaml-shine";
25 description = "Bindings to the fixed-point mp3 encoding library shine";
26 license = licenses.gpl2Only;
27 maintainers = with maintainers; [ dandellion ];
28 };
29}