nixpkgs-suyu/pkgs/development/libraries/despotify/default.nix

36 lines
899 B
Nix
Raw Normal View History

2012-11-25 13:00:12 +01:00
{
stdenv, fetchsvn, openssl, zlib, libvorbis, libpulseaudio, gstreamer, libao,
2012-11-25 13:00:12 +01:00
libtool, ncurses, glibc
}:
stdenv.mkDerivation rec {
name = "despotify-svn521";
2012-11-25 13:00:12 +01:00
src = fetchsvn {
2015-02-05 17:35:10 +01:00
url = "http://svn.code.sf.net/p/despotify/code";
2012-11-25 13:00:12 +01:00
rev = "521";
sha256 = "1vc453bv5ngkvaqkq7z5bj6x28m4kik59153jikcfah3k4qmxw21";
2012-11-25 13:00:12 +01:00
};
buildInputs = [
openssl zlib libvorbis libpulseaudio gstreamer libao libtool ncurses glibc
2012-11-25 13:00:12 +01:00
];
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;
};
}