2010-09-14 15:29:25 +01:00
|
|
|
{ stdenv, fetchurl, expat, curl, fftw }:
|
|
|
|
|
2013-07-01 08:20:05 +01:00
|
|
|
let
|
|
|
|
version = "0.9.3";
|
|
|
|
deb_patch = "5";
|
|
|
|
in
|
2010-09-14 15:29:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-07-01 08:20:05 +01:00
|
|
|
name = "libofa-${version}";
|
2010-09-14 15:29:25 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://musicip-libofa.googlecode.com/files/${name}.tar.gz";
|
|
|
|
sha256 = "184ham039l7lwhfgg0xr2vch2xnw1lwh7sid432mh879adhlc5h2";
|
|
|
|
};
|
2010-09-15 13:57:49 +01:00
|
|
|
|
2013-07-01 08:20:05 +01:00
|
|
|
patches = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/libo/libofa/libofa_${version}-${deb_patch}.debian.tar.gz";
|
|
|
|
sha256 = "1rfkyz13cm8izm90c1xflp4rvsa24aqs6qpbbbqqcbmvzsj6j9yn";
|
|
|
|
};
|
|
|
|
|
2016-09-19 13:48:30 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
setOutputFlags = false;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlagsArray=(--includedir=$dev/include --libdir=$out/lib)
|
|
|
|
'';
|
|
|
|
|
2013-07-01 08:20:05 +01:00
|
|
|
propagatedBuildInputs = [ expat curl fftw ];
|
|
|
|
|
2010-09-15 13:57:49 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://code.google.com/musicip-libofa/;
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Library Open Fingerprint Architecture";
|
2010-09-15 13:57:49 +01:00
|
|
|
longDescription = ''
|
|
|
|
LibOFA (Library Open Fingerprint Architecture) is an open-source audio
|
|
|
|
fingerprint created and provided by MusicIP'';
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-15 13:57:49 +01:00
|
|
|
};
|
2010-09-14 15:29:25 +01:00
|
|
|
}
|