3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/audio/acoustid-fingerprinter/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

25 lines
806 B
Nix

{ 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 ];
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${(builtins.parseDrvName taglib.name).version}" ];
meta = with stdenv.lib; {
homepage = "http://acoustid.org/fingerprinter";
description = "Audio fingerprinting tool using chromaprint";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with maintainers; [ ehmry ];
platforms = with platforms; linux;
};
}