Merge pull request #115423 from bloomvdomino/mpdevil

mpdevil: init at 1.1.1

authored by Sandro and committed by GitHub 403c39d3 820a6336

+54
+52
pkgs/applications/audio/mpdevil/default.nix
··· 1 + { lib, fetchFromGitHub 2 + , python3Packages 3 + , gdk-pixbuf, glib, gobject-introspection, gtk3 4 + , intltool 5 + , wrapGAppsHook }: 6 + 7 + python3Packages.buildPythonApplication rec { 8 + pname = "mpdevil"; 9 + version = "1.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "SoongNoonien"; 13 + repo = pname; 14 + rev = "v${version}"; 15 + sha256 = "0l7mqv7ys05al2hds4icb32hf14fqi3n7b0f5v1yx54cbl9cqfap"; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + glib.dev gobject-introspection gtk3 intltool wrapGAppsHook 20 + ]; 21 + 22 + buildInputs = [ 23 + gdk-pixbuf glib 24 + ]; 25 + 26 + propagatedBuildInputs = with python3Packages; [ 27 + beautifulsoup4 distutils_extra mpd2 notify-py pygobject3 requests 28 + ]; 29 + 30 + postInstall = '' 31 + glib-compile-schemas $out/share/glib-2.0/schemas 32 + ''; 33 + 34 + preFixup = '' 35 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 36 + ''; 37 + 38 + # Prevent double wrapping. 39 + dontWrapGApps = true; 40 + # Otherwise wrapGAppsHook do not pick up the dependencies correctly. 41 + strictDeps = false; 42 + # There aren't any checks. 43 + doCheck = false; 44 + 45 + meta = with lib; { 46 + description = "A simple music browser for MPD"; 47 + homepage = "https://github.com/SoongNoonien/mpdevil"; 48 + license = licenses.gpl3Plus; 49 + platforms = platforms.linux; 50 + maintainers = with maintainers; [ bloomvdomino ]; 51 + }; 52 + }
+2
pkgs/top-level/all-packages.nix
··· 1413 1413 1414 1414 lesspass-cli = callPackage ../tools/security/lesspass-cli { }; 1415 1415 1416 + mpdevil = callPackage ../applications/audio/mpdevil { }; 1417 + 1416 1418 pacparser = callPackage ../tools/networking/pacparser { }; 1417 1419 1418 1420 pass = callPackage ../tools/security/pass { };