mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
842e80dd60
svn path=/nixpkgs/trunk/; revision=23954
24 lines
638 B
Nix
24 lines
638 B
Nix
{ 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 ];
|
|
};
|
|
}
|