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

View File

@ -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 ];
};
}

View File

@ -0,0 +1,19 @@
{ stdenv, fetchurl, pkgconfig, curl, openssl }:
stdenv.mkDerivation rec {
name = "liblastfm-SF-0.3.2";
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ curl openssl ];
src = fetchurl {
url = "mirror://sourceforge/liblastfm/liblastfm-0.3.2.tar.gz";
sha256 = "1hk62giysi96h6cyjyph69nlv1v4vw45w3sx7i2m89i9aysd6qp7";
};
meta = {
homepage = http://liblastfm.sourceforge.net;
description = "Unofficial C lastfm library";
};
}

View File

@ -3250,6 +3250,10 @@ let
libktorrent = newScope pkgs.kde4 ../development/libraries/libktorrent { };
liblastfmSF = callPackage ../development/libraries/liblastfmSF { };
liblastfm = callPackage ../development/libraries/liblastfm { };
liblqr1 = callPackage ../development/libraries/liblqr-1 {
inherit (gnome) glib;
};