summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/shine/default.nix
blob: c21bfed340122081561ed77704a29e4a362bf312 (plain)
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
26
27
28
29
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  dune-configurator,
  shine,
}:

buildDunePackage rec {
  pname = "shine";
  version = "0.2.3";

  src = fetchFromGitHub {
    owner = "savonet";
    repo = "ocaml-shine";
    tag = "v${version}";
    sha256 = "sha256-x/ubqPXT89GWYV9KIyzny0rJDB3TBurLX71i0DlvHLU=";
  };

  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [ shine ];

  meta = {
    homepage = "https://github.com/savonet/ocaml-shine";
    description = "Bindings to the fixed-point mp3 encoding library shine";
    license = lib.licenses.gpl2Only;
    maintainers = with lib.maintainers; [ dandellion ];
  };
}