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>
30 lines
723 B
Nix
30 lines
723 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
dune-configurator,
|
|
soundtouch,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "soundtouch";
|
|
version = "0.1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savonet";
|
|
repo = "ocaml-soundtouch";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-81Mhk4PZx4jGrVIevzMslvVbKzipzDzHWnbtOjeZCI8=";
|
|
};
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ soundtouch ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/savonet/ocaml-soundtouch";
|
|
description = "Bindings for the soundtouch library which provides functions for changing pitch and timestretching audio data";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ dandellion ];
|
|
};
|
|
}
|