1 { lib, stdenv, fetchurl, expat, curl, fftw }:
7 stdenv.mkDerivation rec {
12 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/musicip-libofa/${pname}-${version}.tar.gz";
13 sha256 = "184ham039l7lwhfgg0xr2vch2xnw1lwh7sid432mh879adhlc5h2";
17 url = "mirror://debian/pool/main/libo/libofa/libofa_${version}-${deb_patch}.debian.tar.gz";
18 sha256 = "1rfkyz13cm8izm90c1xflp4rvsa24aqs6qpbbbqqcbmvzsj6j9yn";
21 outputs = [ "out" "dev" ];
23 setOutputFlags = false;
26 configureFlagsArray=(--includedir=$dev/include --libdir=$out/lib)
29 propagatedBuildInputs = [ expat curl fftw ];
32 homepage = "https://code.google.com/archive/p/musicip-libofa/";
33 description = "Library Open Fingerprint Architecture";
35 LibOFA (Library Open Fingerprint Architecture) is an open-source audio
36 fingerprint created and provided by MusicIP'';
37 platforms = platforms.linux;
38 license = licenses.gpl2;