Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. { fetchurl, stdenv, pythonPackages
  2. , gtk3, libnotify, gst_all_1
  3. }:
  4.  
  5. pythonPackages.buildPythonPackage rec {
  6. name = "pithos-1.0.1";
  7.  
  8. src = fetchurl {
  9. url = "https://github.com/pithos/pithos/archive/1.0.1.tar.gz";
  10. sha256 = "67b83927d5111067aefbf034d23880f96b1a2d300464e8491efa80e97e67f50f";
  11. };
  12.  
  13. buildInputs = with gst_all_1; [
  14. gst-plugins-base
  15. gst-plugins-good
  16. gst-plugins-ugly
  17. gst-plugins-bad
  18. libnotify
  19. ];
  20.  
  21. pythonPath = with pythonPackages; [ pygobject dbus pylast ];
  22.  
  23. propogatedBuildInputs = pythonPath;
  24.  
  25. postInstall = ''
  26. wrapProgram "$out/bin/pithos" -- prefix \
  27. GST_PLUGIN_SYSTEM_PATH ":" "$GST_PLUGIN_SYSTEM_PATH"
  28. '';
  29.  
  30. meta = with stdenv.lib; {
  31. description = "Pandora player";
  32.  
  33. longDescription = ''
  34. Pandora Internet Radio player for GNOME
  35. '';
  36.  
  37. homepage = http://pithos.github.io/ ;
  38.  
  39. license = licenses.gpl3;
  40.  
  41. maintainers = [];
  42. };
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement