Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, shine }:
2
3buildDunePackage rec {
4 pname = "shine";
5 version = "0.2.3";
6
7 src = fetchFromGitHub {
8 owner = "savonet";
9 repo = "ocaml-shine";
10 rev = "refs/tags/v${version}";
11 sha256 = "sha256-x/ubqPXT89GWYV9KIyzny0rJDB3TBurLX71i0DlvHLU=";
12 };
13
14 buildInputs = [ dune-configurator ];
15 propagatedBuildInputs = [ shine ];
16
17 meta = with lib; {
18 homepage = "https://github.com/savonet/ocaml-shine";
19 description = "Bindings to the fixed-point mp3 encoding library shine";
20 license = licenses.gpl2Only;
21 maintainers = with maintainers; [ dandellion ];
22 };
23}