add pithos 1.0.1

obadz ac182f0a 2d8cfe76

+44
+40
pkgs/applications/audio/pithos/default.nix
··· 1 + # Based on Richard Wallace's post here: http://comments.gmane.org/gmane.linux.distributions.nixos/14734 2 + 3 + { fetchurl, stdenv, pythonPackages, gtk3, libnotify, gst_all_1 }: 4 + pythonPackages.buildPythonPackage rec { 5 + name = "pithos-${version}"; 6 + version = "1.0.1"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/pithos/pithos/archive/${version}.tar.gz"; 10 + sha256 = "67b83927d5111067aefbf034d23880f96b1a2d300464e8491efa80e97e67f50f"; 11 + }; 12 + 13 + postPatch = '' 14 + substituteInPlace setup.py --replace "/usr/share" "$out/share" 15 + ''; 16 + 17 + buildInputs = with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad libnotify ]; 18 + 19 + pythonPath = with pythonPackages; [ pygobject3 dbus pylast ]; 20 + 21 + propogatedBuildInputs = pythonPath; 22 + 23 + postInstall = '' 24 + wrapProgram "$out/bin/pithos" --prefix GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0" 25 + ''; 26 + 27 + meta = with stdenv.lib; { 28 + description = "Pandora player"; 29 + 30 + longDescription = '' 31 + Pandora Internet Radio player for GNOME 32 + ''; 33 + 34 + homepage = http://pithos.github.io/ ; 35 + 36 + license = licenses.gpl3; 37 + 38 + maintainers = with maintainers; [ obadz ]; 39 + }; 40 + }
+4
pkgs/top-level/all-packages.nix
··· 11567 11567 11568 11568 toxprpl = callPackage ../applications/networking/instant-messengers/pidgin-plugins/tox-prpl { }; 11569 11569 11570 + pithos = callPackage ../applications/audio/pithos { 11571 + pythonPackages = python34Packages; 11572 + }; 11573 + 11570 11574 pinfo = callPackage ../applications/misc/pinfo { }; 11571 11575 11572 11576 pinpoint = callPackage ../applications/office/pinpoint {};