159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
28 lines
654 B
Nix
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;
|
|
};
|
|
}
|