@@ -0,0 +1,25 @@
1+{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, shine }:
2+
3+buildDunePackage rec {
4+ pname = "shine";
5+ version = "0.2.2";
6+
7+ useDune2 = true;
8+
9+ src = fetchFromGitHub {
10+ owner = "savonet";
11+ repo = "ocaml-shine";
12+ rev = "2e1de686ea031f1056df389161ea2b721bfdb39e";
13+ sha256 = "0v6i4ym5zijki6ffkp2qkp00lk4fysjhmg690xscj23gwz4zx8ir";
14+ };
15+
16+ buildInputs = [ dune-configurator ];
17+ propagatedBuildInputs = [ shine ];
18+
19+ meta = with lib; {
20+ homepage = "https://github.com/savonet/ocaml-shine";
21+ description = "Bindings to the fixed-point mp3 encoding library shine";
22+ license = licenses.gpl2Only;
23+ maintainers = with maintainers; [ dandellion ];
24+ };
25+}