Files
nixpkgs/pkgs/development/ocaml-modules/bjack/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
680 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
dune-configurator,
libsamplerate,
libjack2,
}:
buildDunePackage rec {
pname = "bjack";
version = "0.1.6";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-bjack";
rev = "v${version}";
hash = "sha256-jIxxqBVWphWYyLh+24rTxk4WWfPPdGCvNdevFJEKw70=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
libsamplerate
libjack2
];
meta = {
homepage = "https://github.com/savonet/ocaml-bjack";
description = "Blocking API for the jack audio connection kit";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ dandellion ];
};
}