2021-01-30 19:28:16 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ffmpeg, libkeyfinder }:
|
2015-01-25 09:26:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "keyfinder-cli";
|
2021-01-30 19:28:16 +01:00
|
|
|
version = "1.1.1";
|
2015-01-25 09:26:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "keyfinder-cli";
|
|
|
|
owner = "EvanPurkhiser";
|
2021-01-30 19:28:16 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mlcygbj3gqii3cz8jd6ks1lz612i4jp0343qjg293xm39fg47ns";
|
2015-01-25 09:26:24 +01:00
|
|
|
};
|
|
|
|
|
2021-01-30 19:28:16 +01:00
|
|
|
buildInputs = [ ffmpeg libkeyfinder ];
|
2015-09-12 02:34:22 +02:00
|
|
|
|
2015-11-26 18:44:44 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-09-12 02:34:22 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-07-15 03:12:11 +02:00
|
|
|
inherit (src.meta) homepage;
|
2015-01-25 09:26:24 +01: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 19:20:29 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2015-09-13 16:55:19 +02:00
|
|
|
platforms = platforms.linux;
|
2015-01-25 09:26:24 +01:00
|
|
|
};
|
|
|
|
}
|