1{ stdenv, fetchurl, expat, curl, fftw }:
2
3let
4 version = "0.9.3";
5 deb_patch = "5";
6in
7stdenv.mkDerivation rec {
8 name = "libofa-${version}";
9
10 src = fetchurl {
11 url = "http://musicip-libofa.googlecode.com/files/${name}.tar.gz";
12 sha256 = "184ham039l7lwhfgg0xr2vch2xnw1lwh7sid432mh879adhlc5h2";
13 };
14
15 patches = fetchurl {
16 url = "mirror://debian/pool/main/libo/libofa/libofa_${version}-${deb_patch}.debian.tar.gz";
17 sha256 = "1rfkyz13cm8izm90c1xflp4rvsa24aqs6qpbbbqqcbmvzsj6j9yn";
18 };
19
20 propagatedBuildInputs = [ expat curl fftw ];
21
22 meta = {
23 homepage = http://code.google.com/musicip-libofa/;
24 description = "Library Open Fingerprint Architecture";
25 longDescription = ''
26 LibOFA (Library Open Fingerprint Architecture) is an open-source audio
27 fingerprint created and provided by MusicIP'';
28 };
29}