nixpkgs-suyu/pkgs/development/libraries/despotify/default.nix
Alexander Foremny d50712e376 Add despotify
2012-11-25 14:01:13 +01:00

34 lines
833 B
Nix

{
stdenv, fetchsvn, openssl, zlib, libvorbis, pulseaudio, gstreamer, libao,
libtool, ncurses, glibc
}:
stdenv.mkDerivation rec {
name = "despotify";
src = fetchsvn {
url = "https://despotify.svn.sourceforge.net/svnroot/despotify";
rev = "521";
};
buildInputs = [
openssl zlib libvorbis pulseaudio gstreamer libao libtool ncurses glibc
];
configurePhase = "cd src";
installPhase = "make LDCONFIG=true INSTALL_PREFIX=$out install";
meta = {
description = "Open source Spotify client and library";
longDescription = ''
despotify is a open source implementation of the Spotify API. This
package provides both a library and a few already quite useful,
proof-of-concept clients.
'';
homepage = "http://despotify.se";
license = stdenv.lib.licenses.bsd2;
};
}