Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 95ee186c 161315c4

+111 -29
-2
pkgs/applications/audio/kid3/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 - , automoc4 5 4 , chromaprint 6 5 , cmake 7 6 , docbook_xml_dtd_45 ··· 44 43 wrapQtAppsHook 45 44 ]; 46 45 buildInputs = [ 47 - automoc4 48 46 chromaprint 49 47 ffmpeg 50 48 flac
+86
pkgs/applications/video/hypnotix/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , substituteAll 5 + , cinnamon 6 + , gettext 7 + , gobject-introspection 8 + , mpv 9 + , python3 10 + , wrapGAppsHook 11 + }: 12 + 13 + stdenv.mkDerivation rec { 14 + pname = "hypnotix"; 15 + version = "2.6"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "linuxmint"; 19 + repo = "hypnotix"; 20 + rev = version; 21 + hash = "sha256-9HWr8zjUuhj/GZdrt1WwpwYNLEl34S9IJ7ikGZBSw3s="; 22 + }; 23 + 24 + patches = [ 25 + (substituteAll { 26 + src = ./libmpv-path.patch; 27 + libmpv = "${lib.getLib mpv}/lib/libmpv${stdenv.hostPlatform.extensions.sharedLibrary}"; 28 + }) 29 + ]; 30 + 31 + postPatch = '' 32 + substituteInPlace usr/lib/hypnotix/hypnotix.py \ 33 + --replace __DEB_VERSION__ ${version} \ 34 + --replace /usr/share/hypnotix $out/share/hypnotix 35 + ''; 36 + 37 + nativeBuildInputs = [ 38 + gettext 39 + gobject-introspection 40 + python3.pkgs.wrapPython 41 + wrapGAppsHook 42 + ]; 43 + 44 + dontWrapGApps = true; 45 + 46 + buildInputs = [ 47 + cinnamon.xapps 48 + ]; 49 + 50 + pythonPath = with python3.pkgs; [ 51 + imdbpy 52 + pygobject3 53 + requests 54 + setproctitle 55 + unidecode 56 + xapp 57 + ]; 58 + 59 + installPhase = '' 60 + runHook preInstall 61 + 62 + mkdir -p $out 63 + cp -r usr/lib $out 64 + cp -r usr/share $out 65 + 66 + glib-compile-schemas $out/share/glib-2.0/schemas 67 + 68 + runHook postInstall 69 + ''; 70 + 71 + preFixup = '' 72 + buildPythonPath "$out $pythonPath" 73 + makeWrapper ${python3.interpreter} $out/bin/hypnotix \ 74 + --add-flags $out/lib/hypnotix/hypnotix.py \ 75 + --prefix PYTHONPATH : "$program_PYTHONPATH" \ 76 + ''${gappsWrapperArgs[@]} 77 + ''; 78 + 79 + meta = { 80 + description = "IPTV streaming application"; 81 + homepage = "https://github.com/linuxmint/hypnotix"; 82 + license = lib.licenses.gpl3Plus; 83 + maintainers = with lib.maintainers; [ dotlambda ]; 84 + platforms = lib.platforms.linux; 85 + }; 86 + }
+18
pkgs/applications/video/hypnotix/libmpv-path.patch
··· 1 + diff --git a/usr/lib/hypnotix/mpv.py b/usr/lib/hypnotix/mpv.py 2 + index f42a3be..f1fc40b 100644 3 + --- a/usr/lib/hypnotix/mpv.py 4 + +++ b/usr/lib/hypnotix/mpv.py 5 + @@ -44,12 +44,7 @@ else: 6 + # still better than segfaulting, we are setting LC_NUMERIC to "C". 7 + locale.setlocale(locale.LC_NUMERIC, 'C') 8 + 9 + - sofile = ctypes.util.find_library('mpv') 10 + - if sofile is None: 11 + - raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an " 12 + - "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, consult " 13 + - "the documentation for ctypes.util.find_library which this script uses to look up the library " 14 + - "filename.") 15 + + sofile = '@libmpv@' 16 + backend = CDLL(sofile) 17 + fs_enc = sys.getfilesystemencoding() 18 +
-22
pkgs/development/tools/misc/automoc4/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, qt4 }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "automoc4"; 5 - version = "0.9.88"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kde/stable/automoc4/0.9.88/${pname}.tar.bz2"; 9 - sha256 = "0jackvg0bdjg797qlbbyf9syylm0qjs55mllhn11vqjsq3s1ch93"; 10 - }; 11 - 12 - nativeBuildInputs = [ cmake ]; 13 - buildInputs = [ qt4 ]; 14 - 15 - meta = with lib; { 16 - homepage = "https://techbase.kde.org/Development/Tools/Automoc4"; 17 - description = "KDE Meta Object Compiler"; 18 - license = licenses.bsd2; 19 - maintainers = [ maintainers.sander ]; 20 - platforms = platforms.unix; 21 - }; 22 - }
+4 -3
pkgs/tools/package-management/nix/default.nix
··· 87 87 88 88 stable = self.nix_2_8; 89 89 90 + # remember to backport updates to the stable branch! 90 91 unstable = lib.lowPrio (common rec { 91 92 version = "2.8"; 92 - suffix = "pre20220512_${lib.substring 0 7 src.rev}"; 93 + suffix = "pre20220530_${lib.substring 0 7 src.rev}"; 93 94 src = fetchFromGitHub { 94 95 owner = "NixOS"; 95 96 repo = "nix"; 96 - rev = "d354fc30b9768ea3dc737a88b57bf5e26d98135b"; 97 - sha256 = "sha256-wwhezwy3HKeHKJX48ps2qD46f6bL9GDxsFE2QJ+qPHQ="; 97 + rev = "af23d38019a47e5bb4cd6585a1678b37c957130c"; 98 + sha256 = "sha256-RH77Y4IhbTofNYlLQSGKLL0fJAG9iHSwRNvMEZ4M0VQ="; 98 99 }; 99 100 }); 100 101 })
+1
pkgs/top-level/aliases.nix
··· 90 90 at_spi2_atk = throw "'at_spi2_atk' has been renamed to/replaced by 'at-spi2-atk'"; # Converted to throw 2022-02-22 91 91 at_spi2_core = throw "'at_spi2_core' has been renamed to/replaced by 'at-spi2-core'"; # Converted to throw 2022-02-22 92 92 aucdtect = throw "aucdtect: Upstream no longer provides download urls"; # Added 2020-12-26 93 + automoc4 = throw "automoc4 has been removed from nixpkgs"; # Added 2022-05-30 93 94 avldrums-lv2 = x42-avldrums; # Added 2020-03-29 94 95 avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18 95 96 awesome-4-0 = awesome; # Added 2022-05-05
+2 -2
pkgs/top-level/all-packages.nix
··· 14926 14926 14927 14927 automake116x = callPackage ../development/tools/misc/automake/automake-1.16.x.nix { }; 14928 14928 14929 - automoc4 = callPackage ../development/tools/misc/automoc4 { }; 14930 - 14931 14929 avrdude = callPackage ../development/embedded/avrdude { }; 14932 14930 14933 14931 b4 = callPackage ../development/tools/b4 { }; ··· 27100 27098 hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng { }; 27101 27099 27102 27100 hyperledger-fabric = callPackage ../tools/misc/hyperledger-fabric { }; 27101 + 27102 + hypnotix = callPackage ../applications/video/hypnotix { }; 27103 27103 27104 27104 indigenous-desktop = callPackage ../applications/networking/feedreaders/indigenous-desktop { }; 27105 27105