exaile: init at 4.1.1 (#120761)

authored by

ryneeverett and committed by
GitHub
3e9f6d7e c43a2609

+109
+107
pkgs/applications/audio/exaile/default.nix
···
··· 1 + { stdenv, lib, fetchFromGitHub 2 + , gobject-introspection, makeWrapper, wrapGAppsHook 3 + , gtk3, gst_all_1, python3 4 + , gettext, gnome, help2man, keybinder3, libnotify, librsvg, streamripper, udisks, webkitgtk 5 + , iconTheme ? gnome.adwaita-icon-theme 6 + , deviceDetectionSupport ? true 7 + , documentationSupport ? true 8 + , notificationSupport ? true 9 + , scalableIconSupport ? true 10 + , translationSupport ? true 11 + , bpmCounterSupport ? false 12 + , ipythonSupport ? false 13 + , lastfmSupport ? false 14 + , lyricsManiaSupport ? false 15 + , lyricsWikiSupport ? false 16 + , multimediaKeySupport ? false 17 + , musicBrainzSupport ? false 18 + , podcastSupport ? false 19 + , streamripperSupport ? false 20 + , wikipediaSupport ? false 21 + , fetchpatch 22 + }: 23 + 24 + stdenv.mkDerivation rec { 25 + pname = "exaile"; 26 + version = "4.1.1"; 27 + 28 + src = fetchFromGitHub { 29 + owner = "exaile"; 30 + repo = pname; 31 + rev = version; 32 + sha256 = "0s29lm0i4slgaw5l5s9a2zx0b83xac43rnil5cvyi210dxm5s048"; 33 + }; 34 + patches = [ 35 + (fetchpatch { 36 + url = "https://github.com/exaile/exaile/pull/751.patch"; 37 + sha256 = "sha256-jCJh85Z3HQcyS4ntQP5HwYJgM7WNHcWzjf0BdNJitsM="; 38 + }) 39 + ]; 40 + 41 + nativeBuildInputs = [ 42 + gobject-introspection 43 + makeWrapper 44 + wrapGAppsHook 45 + ] ++ lib.optionals documentationSupport [ 46 + help2man 47 + python3.pkgs.sphinx 48 + python3.pkgs.sphinx_rtd_theme 49 + ] ++ lib.optional translationSupport gettext; 50 + 51 + buildInputs = [ 52 + iconTheme 53 + gtk3 54 + ] ++ (with gst_all_1; [ 55 + gstreamer 56 + gst-plugins-base 57 + gst-plugins-good 58 + ]) ++ (with python3.pkgs; [ 59 + bsddb3 60 + dbus-python 61 + mutagen 62 + pygobject3 63 + pycairo 64 + gst-python 65 + ]) ++ lib.optional deviceDetectionSupport udisks 66 + ++ lib.optional notificationSupport libnotify 67 + ++ lib.optional scalableIconSupport librsvg 68 + ++ lib.optional bpmCounterSupport gst_all_1.gst-plugins-bad 69 + ++ lib.optional ipythonSupport python3.pkgs.ipython 70 + ++ lib.optional lastfmSupport python3.pkgs.pylast 71 + ++ lib.optional (lyricsManiaSupport || lyricsWikiSupport) python3.pkgs.lxml 72 + ++ lib.optional lyricsWikiSupport python3.pkgs.beautifulsoup4 73 + ++ lib.optional multimediaKeySupport keybinder3 74 + ++ lib.optional musicBrainzSupport python3.pkgs.musicbrainzngs 75 + ++ lib.optional podcastSupport python3.pkgs.feedparser 76 + ++ lib.optional wikipediaSupport webkitgtk; 77 + 78 + checkInputs = with python3.pkgs; [ 79 + mox3 80 + pytest 81 + ]; 82 + 83 + makeFlags = [ 84 + "PREFIX=${placeholder "out"}" 85 + ]; 86 + 87 + doCheck = true; 88 + preCheck = '' 89 + substituteInPlace Makefile --replace "PYTHONPATH=$(shell pwd)" "PYTHONPATH=$PYTHONPATH:$(shell pwd)" 90 + export PYTEST="py.test" 91 + export XDG_CACHE_HOME=$(mktemp -d) 92 + ''; 93 + 94 + postInstall = '' 95 + wrapProgram $out/bin/exaile \ 96 + --set PYTHONPATH $PYTHONPATH \ 97 + ${lib.optionalString streamripperSupport "--prefix PATH : ${lib.makeBinPath [ streamripper ]}"} 98 + ''; 99 + 100 + meta = with lib; { 101 + homepage = "https://www.exaile.org/"; 102 + description = "A music player with a simple interface and powerful music management capabilities"; 103 + license = licenses.gpl2Only; 104 + maintainers = with maintainers; [ ryneeverett ]; 105 + platforms = platforms.all; 106 + }; 107 + }
+2
pkgs/top-level/all-packages.nix
··· 24268 24269 evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { }; 24270 24271 exercism = callPackage ../applications/misc/exercism { }; 24272 24273 expenses = callPackage ../applications/misc/expenses { };
··· 24268 24269 evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { }; 24270 24271 + exaile = callPackage ../applications/audio/exaile { }; 24272 + 24273 exercism = callPackage ../applications/misc/exercism { }; 24274 24275 expenses = callPackage ../applications/misc/expenses { };