forked from mirrors/nixpkgs
Add two lastfm libraries
svn path=/nixpkgs/trunk/; revision=23954
This commit is contained in:
parent
f81af3dce0
commit
842e80dd60
23
pkgs/development/libraries/liblastfm/default.nix
Normal file
23
pkgs/development/libraries/liblastfm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
19
pkgs/development/libraries/liblastfmSF/default.nix
Normal file
19
pkgs/development/libraries/liblastfmSF/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue