2015-09-12 01:34:22 +01:00
|
|
|
{ stdenv, fetchFromGitHub, libav, libkeyfinder }:
|
2015-01-25 08:26:24 +00:00
|
|
|
|
2015-09-13 15:55:19 +01:00
|
|
|
let version = "2015-09-13"; in
|
2015-01-25 08:26:24 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "keyfinder-cli-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "keyfinder-cli";
|
|
|
|
owner = "EvanPurkhiser";
|
2015-09-13 15:55:19 +01:00
|
|
|
rev = "8579282f15ab3ebad937fed398ec5c88843be03d";
|
|
|
|
sha256 = "0jylykigxmsqvdny265k58vpxa4cqs1hq2f7mph1nl3apfx2shrh";
|
2015-01-25 08:26:24 +00:00
|
|
|
};
|
|
|
|
|
2015-09-12 01:34:22 +01:00
|
|
|
buildInputs = [ libav libkeyfinder ];
|
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-09-12 01:34:22 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-01-25 08:26:24 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-07-15 02:12:11 +01:00
|
|
|
inherit version;
|
|
|
|
inherit (src.meta) homepage;
|
2015-01-25 08:26:24 +00: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 18:20:29 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2015-09-13 15:55:19 +01:00
|
|
|
platforms = platforms.linux;
|
2015-01-25 08:26:24 +00:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|