Add two lastfm libraries

svn path=/nixpkgs/trunk/; revision=23954
This commit is contained in:
Yury G. Kudryashov
2010-09-26 19:40:15 +00:00
parent f81af3dce0
commit 842e80dd60
3 changed files with 46 additions and 0 deletions
@@ -0,0 +1,23 @@
{ stdenv, fetchurl, ruby, qt4, pkgconfig, libsamplerate, fftwSinglePrec }:
stdenv.mkDerivation rec {
name = "liblastfm-0.3.0";
src = fetchurl {
url = "http://cdn.last.fm/src/${name}.tar.bz2";
sha256 = "0vgpkbqmynm975nlcw3caxpz30wvvz35c7a9kfr2wjqizvxrfwnx";
};
prefixKey = "--prefix ";
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
buildInputs = [ ruby pkgconfig ];
patchPhase = "patchShebangs .";
meta = {
homepage = http://github.com/mxcl/liblastfm;
description = "Official LastFM library";
inherit (qt4.meta) platforms;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}