2015-07-14 18:12:11 -07:00
|
|
|
{ stdenv, fetchFromGitHub, libav, libkeyfinder_0_11 }:
|
2015-01-25 00:26:24 -08:00
|
|
|
|
2015-07-14 18:12:11 -07:00
|
|
|
let version = "20150201"; in
|
2015-01-25 00:26:24 -08:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "keyfinder-cli-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "keyfinder-cli";
|
|
|
|
owner = "EvanPurkhiser";
|
2015-02-01 17:02:28 -08:00
|
|
|
rev = "e8a20e73f8a465a6c3c9e71dabf4b636244a9b0c";
|
|
|
|
sha256 = "0x198ijr6wgzq24642s4pz5zxn4gvcc7dxmb6d1bfn3dwzi3j8lp";
|
2015-01-25 00:26:24 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-07-14 18:12:11 -07:00
|
|
|
inherit version;
|
|
|
|
inherit (src.meta) homepage;
|
2015-01-25 00:26:24 -08:00
|
|
|
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.
|
|
|
|
'';
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.gpl3Plus;
|
2015-01-25 00:26:24 -08:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
|
2015-07-14 18:12:11 -07:00
|
|
|
buildInputs = [ libav libkeyfinder_0_11 ];
|
2015-01-25 00:26:24 -08:00
|
|
|
|
|
|
|
makeFlagsArray = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
}
|