mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
61922738bb
Per the adjusted FFmpeg pinning advice, packages that work on the default version should use the unversioned variants to ease the migration to future versions and reduce the number of packages that end up referencing old versions. I have left HandBrake pinned as it builds a custom patched FFmpeg.
33 lines
938 B
Nix
33 lines
938 B
Nix
{ lib, stdenv, fetchFromGitHub, ffmpeg, libkeyfinder, fftw }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "keyfinder-cli";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "keyfinder-cli";
|
|
owner = "EvanPurkhiser";
|
|
rev = "v${version}";
|
|
hash = "sha256-9/+wzPTaQ5PfPiqTZ5EuHdswXJgfgnvAul/FeeDbbJA=";
|
|
};
|
|
|
|
buildInputs = [ ffmpeg libkeyfinder fftw ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "Musical key detection for digital audio (command-line tool)";
|
|
longDescription = ''
|
|
This small utility is the automation-oriented DJ's best friend. By making
|
|
use of Ibrahim Sha'ath's high quality libKeyFinder library, it can be
|
|
used to estimate the musical key of many different audio formats.
|
|
'';
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
mainProgram = "keyfinder-cli";
|
|
};
|
|
}
|