1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/libraries/liblastfm/default.nix

27 lines
857 B
Nix
Raw Normal View History

2014-02-13 02:13:15 +00:00
{ stdenv, fetchurl, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which, cmake }:
2014-02-13 17:04:04 +00:00
let version = "1.0.8"; in
stdenv.mkDerivation rec {
name = "liblastfm-${version}";
# Upstream does not package git tags as tarballs. Get tarball from github.
src = fetchurl {
2014-02-13 02:13:15 +00:00
url = "https://github.com/lastfm/liblastfm/tarball/${version}";
name = "${name}.tar.gz";
2014-02-13 17:04:04 +00:00
sha256 = "17jjhsgbwrzh09i0wcqsnmxzyrqy1png5ixpnx6rbqmhp54a3jn3";
};
prefixKey = "--prefix ";
propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ];
2014-02-13 02:13:15 +00:00
nativeBuildInputs = [ pkgconfig which cmake ];
meta = {
2014-02-13 02:13:15 +00:00
homepage = http://github.com/lastfm/liblastfm;
repositories.git = git://github.com/lastfm/liblastfm.git;
description = "Official LastFM library";
inherit (qt4.meta) platforms;
2014-02-13 02:13:15 +00:00
maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
};
}