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