2013-08-14 17:36:23 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "acoustid-fingerprinter-${version}";
|
|
|
|
version = "0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://bitbucket.org/acoustid/acoustid-fingerprinter/downloads/"
|
|
|
|
+ "${name}.tar.gz";
|
|
|
|
sha256 = "0ckglwy95qgqvl2l6yd8ilwpd6qs7yzmj8g7lnxb50d12115s5n0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake pkgconfig qt4 taglib chromaprint ffmpeg ];
|
|
|
|
|
2016-03-17 10:15:53 +00:00
|
|
|
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${(builtins.parseDrvName taglib.name).version}" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-08-14 17:36:23 +01:00
|
|
|
homepage = "http://acoustid.org/fingerprinter";
|
|
|
|
description = "Audio fingerprinting tool using chromaprint";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-03-17 10:15:53 +00:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2013-08-14 17:36:23 +01:00
|
|
|
};
|
|
|
|
}
|