567e8dfd8e
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>
29 lines
515 B
Nix
29 lines
515 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
dune-configurator,
|
|
pkg-config,
|
|
ogg,
|
|
libopus,
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "opus";
|
|
inherit (ogg) version src;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [
|
|
ogg
|
|
libopus.dev
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/savonet/ocaml-opus";
|
|
description = "Bindings to libopus";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ dandellion ];
|
|
};
|
|
}
|