Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. { fetchurl, stdenv, python3Packages
  2. , gtk3, gobjectIntrospection, libnotify, gst_all_1
  3. }:
  4.  
  5. python3Packages.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. gobjectIntrospection
  20. ];
  21.  
  22. pythonPath = with python3Packages; [ pygobject dbus pylast ];
  23.  
  24. propogatedBuildInputs = pythonPath;
  25.  
  26. postInstall = ''
  27. wrapProgram "$out/bin/pithos" \
  28. --prefix GI_TYPELIB_PATH : $GI_TYPELIB_PATH \
  29. --prefix GST_PLUGIN_SYSTEM_PATH : $GST_PLUGIN_SYSTEM_PATH
  30. '';
  31.  
  32. meta = with stdenv.lib; {
  33. description = "Pandora player";
  34.  
  35. longDescription = ''
  36. Pandora Internet Radio player for GNOME
  37. '';
  38.  
  39. homepage = http://pithos.github.io/ ;
  40.  
  41. license = licenses.gpl3;
  42.  
  43. maintainers = [];
  44. };
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement