ocamlPackages.samplerate: init at 0.1.6

main
Daniel Olsen 3 years ago committed by Vincent Laporte
parent 8c8b1f2e38
commit ee672c823e
  1. 25
      pkgs/development/ocaml-modules/samplerate/default.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -0,0 +1,25 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, libsamplerate }:
buildDunePackage rec {
pname = "samplerate";
version = "0.1.6";
useDune2 = true;
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-samplerate";
rev = "v${version}";
sha256 = "0h0i9v9p9n2givv3wys8qrfi1i7vp8kq7lnkf14s7d3m4r8x4wrp";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ libsamplerate ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-samplerate";
description = "Interface for libsamplerate";
license = licenses.bsd2;
maintainers = with maintainers; [ dandellion ];
};
}

@ -1108,6 +1108,8 @@ let
result = callPackage ../development/ocaml-modules/ocaml-result { };
samplerate = callPackage ../development/ocaml-modules/samplerate { };
secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {
inherit (pkgs) secp256k1;
};

Loading…
Cancel
Save