depot/third_party/nixpkgs/pkgs/development/libraries/audio/libkeyfinder/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

28 lines
654 B
Nix

{ lib, stdenv, fetchpatch, fetchFromGitHub, cmake, fftw, catch2_3 }:
stdenv.mkDerivation rec {
pname = "libkeyfinder";
version = "2.2.8";
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "libkeyfinder";
rev = version;
hash = "sha256-Et8u5j/ke9u2bwHFriPCCBiXkPel37gwx+kwuViAr4o=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ fftw ];
nativeCheckInputs = [ catch2_3 ];
doCheck = true;
meta = with lib; {
description = "Musical key detection for digital audio (C++ library)";
homepage = "https://mixxxdj.github.io/libkeyfinder/";
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}