Merge pull request #115306 from SuperSandro2000/fix-collection22

authored by Sandro and committed by GitHub 1aae00a1 18750336

+88 -110
+18 -21
pkgs/applications/kde/ark/default.nix
··· 1 - { 2 - mkDerivation, lib, config, 3 - 4 - extra-cmake-modules, kdoctools, 5 - 6 - breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n, 7 - kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons, 8 - 9 - libarchive, libzip, 10 - 11 - # Archive tools 12 - p7zip, lrzip, 13 - 14 - # Unfree tools 15 - unfreeEnableUnrar ? false, unrar, 16 }: 17 18 let ··· 21 22 mkDerivation { 23 pname = "ark"; 24 - meta = { 25 - description = "Graphical file compression/decompression utility"; 26 - license = with lib.licenses; 27 - [ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree; 28 - maintainers = [ lib.maintainers.ttuegel ]; 29 - }; 30 31 outputs = [ "out" "dev" ]; 32 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 33 buildInputs = [ libarchive libzip ] ++ extraTools; 34 propagatedBuildInputs = [ 35 breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio 36 kitemmodels kparts kpty kservice kwidgetsaddons 37 ]; 38 39 qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ]; 40 }
··· 1 + { mkDerivation, lib, config 2 + , extra-cmake-modules, kdoctools 3 + , breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n 4 + , kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons 5 + , libarchive, libzip 6 + # Archive tools 7 + , p7zip, lrzip 8 + # Unfree tools 9 + , unfreeEnableUnrar ? false, unrar 10 }: 11 12 let ··· 15 16 mkDerivation { 17 pname = "ark"; 18 19 outputs = [ "out" "dev" ]; 20 + 21 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22 + 23 buildInputs = [ libarchive libzip ] ++ extraTools; 24 + 25 propagatedBuildInputs = [ 26 breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio 27 kitemmodels kparts kpty kservice kwidgetsaddons 28 ]; 29 30 qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ]; 31 + 32 + meta = with lib; { 33 + description = "Graphical file compression/decompression utility"; 34 + license = with licenses; [ gpl2 lgpl3 ] ++ optional unfreeEnableUnrar unfree; 35 + maintainers = [ maintainers.ttuegel ]; 36 + }; 37 }
+1 -2
pkgs/applications/networking/instant-messengers/deltachat-electron/default.nix
··· 6 name = "${pname}-${version}"; 7 8 src = fetchurl { 9 - url = 10 - "https://download.delta.chat/desktop/v${version}/DeltaChat-${version}.AppImage"; 11 sha256 = "sha256-iw2tU8qqXWbtEdLGlW8HNBHx8F2CgnCGCBUWpM407us="; 12 }; 13
··· 6 name = "${pname}-${version}"; 7 8 src = fetchurl { 9 + url = "https://download.delta.chat/desktop/v${version}/DeltaChat-${version}.AppImage"; 10 sha256 = "sha256-iw2tU8qqXWbtEdLGlW8HNBHx8F2CgnCGCBUWpM407us="; 11 }; 12
+10 -8
pkgs/development/libraries/kde-frameworks/kguiaddons.nix
··· 1 - { 2 - mkDerivation, lib, 3 - extra-cmake-modules, 4 - qtbase, qtx11extras, wayland, 5 }: 6 7 mkDerivation { 8 name = "kguiaddons"; 9 - meta = { 10 - maintainers = [ lib.maintainers.ttuegel ]; 11 - broken = builtins.compareVersions qtbase.version "5.7.0" < 0; 12 - }; 13 nativeBuildInputs = [ extra-cmake-modules ]; 14 buildInputs = [ qtx11extras wayland ]; 15 propagatedBuildInputs = [ qtbase ]; 16 outputs = [ "out" "dev" ]; 17 }
··· 1 + { mkDerivation, lib 2 + , extra-cmake-modules 3 + , qtbase, qtx11extras, wayland 4 }: 5 6 mkDerivation { 7 name = "kguiaddons"; 8 + 9 nativeBuildInputs = [ extra-cmake-modules ]; 10 buildInputs = [ qtx11extras wayland ]; 11 propagatedBuildInputs = [ qtbase ]; 12 + 13 outputs = [ "out" "dev" ]; 14 + 15 + meta = with lib; { 16 + maintainers = [ maintainers.ttuegel ]; 17 + broken = versionOlder qtbase.version "5.14.0"; 18 + }; 19 }
+4 -6
pkgs/development/python-modules/alot/default.nix
··· 1 - { lib, buildPythonPackage, python, fetchFromGitHub, fetchpatch, isPy3k 2 , notmuch, urwid, urwidtrees, twisted, python_magic, configobj, mock, file, gpgme 3 - , service-identity 4 - , gnupg ? null, sphinx, awk ? null, procps ? null, future ? null 5 - , withManpage ? false }: 6 - 7 8 buildPythonPackage rec { 9 pname = "alot"; ··· 41 doCheck = false; 42 postBuild = lib.optionalString withManpage "make -C docs man"; 43 44 - checkInputs = [ awk future mock gnupg procps ]; 45 46 postInstall = let 47 completionPython = python.withPackages (ps: [ ps.configobj ]);
··· 1 + { lib, buildPythonPackage, python, fetchFromGitHub, isPy3k 2 , notmuch, urwid, urwidtrees, twisted, python_magic, configobj, mock, file, gpgme 3 + , service-identity, gnupg, sphinx, gawk, procps, future , withManpage ? false 4 + }: 5 6 buildPythonPackage rec { 7 pname = "alot"; ··· 39 doCheck = false; 40 postBuild = lib.optionalString withManpage "make -C docs man"; 41 42 + checkInputs = [ gawk future mock gnupg procps ]; 43 44 postInstall = let 45 completionPython = python.withPackages (ps: [ ps.configobj ]);
+3
pkgs/development/python-modules/crate/default.nix
··· 6 , isPy3k 7 , sqlalchemy 8 , pytestCheckHook 9 }: 10 11 buildPythonPackage rec { ··· 27 checkInputs = [ 28 pytestCheckHook 29 ]; 30 31 meta = with lib; { 32 homepage = "https://github.com/crate/crate-python";
··· 6 , isPy3k 7 , sqlalchemy 8 , pytestCheckHook 9 + , stdenv 10 }: 11 12 buildPythonPackage rec { ··· 28 checkInputs = [ 29 pytestCheckHook 30 ]; 31 + 32 + disabledTestPaths = lib.optionals stdenv.isDarwin [ "src/crate/client/test_http.py" ]; 33 34 meta = with lib; { 35 homepage = "https://github.com/crate/crate-python";
-1
pkgs/development/python-modules/googleapis-common-protos/default.nix
··· 3 , fetchPypi 4 , grpc 5 , protobuf 6 - , pytestCheckHook 7 }: 8 9 buildPythonPackage rec {
··· 3 , fetchPypi 4 , grpc 5 , protobuf 6 }: 7 8 buildPythonPackage rec {
+2
pkgs/development/python-modules/shap/default.nix
··· 66 license = licenses.mit; 67 maintainers = with maintainers; [ evax ]; 68 platforms = platforms.unix; 69 }; 70 }
··· 66 license = licenses.mit; 67 maintainers = with maintainers; [ evax ]; 68 platforms = platforms.unix; 69 + # ModuleNotFoundError: No module named 'sklearn.ensemble.iforest' 70 + broken = true; 71 }; 72 }
+3 -4
pkgs/development/tools/parsing/tree-sitter/default.nix
··· 108 }; 109 }; 110 111 - meta = { 112 homepage = "https://github.com/tree-sitter/tree-sitter"; 113 description = "A parser generator tool and an incremental parsing library"; 114 longDescription = '' ··· 122 * Robust enough to provide useful results even in the presence of syntax errors 123 * Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application 124 ''; 125 - license = lib.licenses.mit; 126 - maintainers = with lib.maintainers; [ Profpatsch ]; 127 # Aarch has test failures with how tree-sitter compiles the generated C files 128 broken = stdenv.isAarch64; 129 }; 130 - 131 }
··· 108 }; 109 }; 110 111 + meta = with lib; { 112 homepage = "https://github.com/tree-sitter/tree-sitter"; 113 description = "A parser generator tool and an incremental parsing library"; 114 longDescription = '' ··· 122 * Robust enough to provide useful results even in the presence of syntax errors 123 * Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application 124 ''; 125 + license = licenses.mit; 126 + maintainers = with maintainers; [ Profpatsch ]; 127 # Aarch has test failures with how tree-sitter compiles the generated C files 128 broken = stdenv.isAarch64; 129 }; 130 }
+31 -50
pkgs/tools/audio/beets/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, writeScript, glibcLocales, diffPlugins, substituteAll 2 , pythonPackages, imagemagick, gobject-introspection, gst_all_1 3 - , runtimeShell 4 - , unstableGitUpdater 5 6 # external plugins package set 7 , beetsExternalPlugins 8 9 - , enableAbsubmit ? lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms, essentia-extractor ? null 10 , enableAcousticbrainz ? true 11 , enableAcoustid ? true 12 - , enableBadfiles ? true, flac ? null, mp3val ? null 13 , enableBeatport ? true 14 , enableBpsync ? true 15 - , enableConvert ? true, ffmpeg ? null 16 , enableDeezer ? true 17 , enableDiscogs ? true 18 , enableEmbyupdate ? true 19 , enableFetchart ? true 20 , enableGmusic ? true 21 - , enableKeyfinder ? true, keyfinder-cli ? null 22 , enableKodiupdate ? true 23 , enableLastfm ? true 24 , enableLoadext ? true ··· 33 34 # External plugins 35 , enableAlternatives ? false 36 - , enableCheck ? false, liboggz ? null 37 , enableCopyArtifacts ? false 38 , enableExtraFiles ? false 39 40 , bashInteractive, bash-completion 41 }: 42 43 - assert enableAbsubmit -> essentia-extractor != null; 44 - assert enableAcoustid -> pythonPackages.pyacoustid != null; 45 - assert enableBadfiles -> flac != null && mp3val != null; 46 - assert enableBeatport -> pythonPackages.requests_oauthlib != null; 47 assert enableBpsync -> enableBeatport; 48 - assert enableCheck -> flac != null && mp3val != null && liboggz != null; 49 - assert enableConvert -> ffmpeg != null; 50 - assert enableDiscogs -> pythonPackages.discogs_client != null; 51 - assert enableFetchart -> pythonPackages.responses != null; 52 - assert enableGmusic -> pythonPackages.gmusicapi != null; 53 - assert enableKeyfinder -> keyfinder-cli != null; 54 - assert enableLastfm -> pythonPackages.pylast != null; 55 - assert enableMpd -> pythonPackages.mpd2 != null; 56 - assert enableReplaygain -> ffmpeg != null; 57 - assert enableSonosUpdate -> pythonPackages.soco != null; 58 - assert enableThumbnails -> pythonPackages.pyxdg != null; 59 - assert enableWeb -> pythonPackages.flask != null; 60 - 61 - with lib; 62 63 let 64 optionalPlugins = { ··· 99 "types" "unimported" "zero" 100 ]; 101 102 - enabledOptionalPlugins = attrNames (filterAttrs (_: id) optionalPlugins); 103 104 - allPlugins = pluginsWithoutDeps ++ attrNames optionalPlugins; 105 allEnabledPlugins = pluginsWithoutDeps ++ enabledOptionalPlugins; 106 107 testShell = "${bashInteractive}/bin/bash --norc"; 108 completion = "${bash-completion}/share/bash-completion/bash_completion"; 109 110 # This is a stripped down beets for testing of the external plugins. 111 - externalTestArgs.beets = (beets.override { 112 enableAlternatives = false; 113 enableCopyArtifacts = false; 114 enableExtraFiles = false; 115 - }).overrideAttrs (const { 116 doInstallCheck = false; 117 }); 118 ··· 147 pythonPackages.confuse 148 pythonPackages.mediafile 149 gobject-introspection 150 - ] ++ optional enableAbsubmit essentia-extractor 151 - ++ optional enableAcoustid pythonPackages.pyacoustid 152 - ++ optional enableBeatport pythonPackages.requests_oauthlib 153 - ++ optional (enableFetchart 154 || enableDeezer 155 || enableEmbyupdate 156 || enableKodiupdate ··· 160 || enableSubsonicupdate 161 || enableAcousticbrainz) 162 pythonPackages.requests 163 - ++ optional enableCheck beetsExternalPlugins.check 164 - ++ optional enableConvert ffmpeg 165 - ++ optional enableDiscogs pythonPackages.discogs_client 166 - ++ optional enableGmusic pythonPackages.gmusicapi 167 - ++ optional enableKeyfinder keyfinder-cli 168 - ++ optional enableLastfm pythonPackages.pylast 169 - ++ optional enableMpd pythonPackages.mpd2 170 - ++ optional enableSonosUpdate pythonPackages.soco 171 - ++ optional enableThumbnails pythonPackages.pyxdg 172 - ++ optional enableWeb pythonPackages.flask 173 - ++ optional enableAlternatives beetsExternalPlugins.alternatives 174 - ++ optional enableCopyArtifacts beetsExternalPlugins.copyartifacts 175 - ++ optional enableExtraFiles beetsExternalPlugins.extrafiles 176 ; 177 178 buildInputs = [ ··· 209 # bs1770gain, and set the absolute path there, to avoid impurities. 210 ++ lib.optional enableReplaygain (substituteAll { 211 src = ./replaygain-default-ffmpeg.patch; 212 - ffmpeg = getBin ffmpeg; 213 }) 214 # Put absolute Nix paths in place 215 ++ lib.optional enableConvert (substituteAll { 216 src = ./convert-plugin-ffmpeg-path.patch; 217 - ffmpeg = getBin ffmpeg; 218 }) 219 ++ lib.optional enableBadfiles (substituteAll { 220 src = ./badfiles-plugin-nix-paths.patch; ··· 269 EDITOR="${writeScript "beetconfig.sh" '' 270 #!${runtimeShell} 271 cat > "$1" <<CFG 272 - plugins: ${concatStringsSep " " allEnabledPlugins} 273 CFG 274 ''}" HOME="$tmphome" "$out/bin/beet" config -e 275 EDITOR=true HOME="$tmphome" "$out/bin/beet" config -e ··· 285 updateScript = unstableGitUpdater { url = "https://github.com/beetbox/beets"; }; 286 }; 287 288 - meta = { 289 description = "Music tagger and library organizer"; 290 homepage = "http://beets.io"; 291 license = licenses.mit;
··· 1 { stdenv, lib, fetchFromGitHub, writeScript, glibcLocales, diffPlugins, substituteAll 2 , pythonPackages, imagemagick, gobject-introspection, gst_all_1 3 + , runtimeShell, unstableGitUpdater 4 5 # external plugins package set 6 , beetsExternalPlugins 7 8 + , enableAbsubmit ? lib.elem stdenv.hostPlatform.system essentia-extractor.meta.platforms, essentia-extractor 9 , enableAcousticbrainz ? true 10 , enableAcoustid ? true 11 + , enableBadfiles ? true, flac, mp3val 12 , enableBeatport ? true 13 , enableBpsync ? true 14 + , enableConvert ? true, ffmpeg 15 , enableDeezer ? true 16 , enableDiscogs ? true 17 , enableEmbyupdate ? true 18 , enableFetchart ? true 19 , enableGmusic ? true 20 + , enableKeyfinder ? true, keyfinder-cli 21 , enableKodiupdate ? true 22 , enableLastfm ? true 23 , enableLoadext ? true ··· 32 33 # External plugins 34 , enableAlternatives ? false 35 + , enableCheck ? false, liboggz 36 , enableCopyArtifacts ? false 37 , enableExtraFiles ? false 38 39 , bashInteractive, bash-completion 40 }: 41 42 assert enableBpsync -> enableBeatport; 43 44 let 45 optionalPlugins = { ··· 80 "types" "unimported" "zero" 81 ]; 82 83 + enabledOptionalPlugins = lib.attrNames (lib.filterAttrs (_: lib.id) optionalPlugins); 84 85 + allPlugins = pluginsWithoutDeps ++ lib.attrNames optionalPlugins; 86 allEnabledPlugins = pluginsWithoutDeps ++ enabledOptionalPlugins; 87 88 testShell = "${bashInteractive}/bin/bash --norc"; 89 completion = "${bash-completion}/share/bash-completion/bash_completion"; 90 91 # This is a stripped down beets for testing of the external plugins. 92 + externalTestArgs.beets = (lib.beets.override { 93 enableAlternatives = false; 94 enableCopyArtifacts = false; 95 enableExtraFiles = false; 96 + }).overrideAttrs (lib.const { 97 doInstallCheck = false; 98 }); 99 ··· 128 pythonPackages.confuse 129 pythonPackages.mediafile 130 gobject-introspection 131 + ] ++ lib.optional enableAbsubmit essentia-extractor 132 + ++ lib.optional enableAcoustid pythonPackages.pyacoustid 133 + ++ lib.optional enableBeatport pythonPackages.requests_oauthlib 134 + ++ lib.optional (enableFetchart 135 || enableDeezer 136 || enableEmbyupdate 137 || enableKodiupdate ··· 141 || enableSubsonicupdate 142 || enableAcousticbrainz) 143 pythonPackages.requests 144 + ++ lib.optional enableCheck beetsExternalPlugins.check 145 + ++ lib.optional enableConvert ffmpeg 146 + ++ lib.optional enableDiscogs pythonPackages.discogs_client 147 + ++ lib.optional enableGmusic pythonPackages.gmusicapi 148 + ++ lib.optional enableKeyfinder keyfinder-cli 149 + ++ lib.optional enableLastfm pythonPackages.pylast 150 + ++ lib.optional enableMpd pythonPackages.mpd2 151 + ++ lib.optional enableSonosUpdate pythonPackages.soco 152 + ++ lib.optional enableThumbnails pythonPackages.pyxdg 153 + ++ lib.optional enableWeb pythonPackages.flask 154 + ++ lib.optional enableAlternatives beetsExternalPlugins.alternatives 155 + ++ lib.optional enableCopyArtifacts beetsExternalPlugins.copyartifacts 156 + ++ lib.optional enableExtraFiles beetsExternalPlugins.extrafiles 157 ; 158 159 buildInputs = [ ··· 190 # bs1770gain, and set the absolute path there, to avoid impurities. 191 ++ lib.optional enableReplaygain (substituteAll { 192 src = ./replaygain-default-ffmpeg.patch; 193 + ffmpeg = lib.getBin ffmpeg; 194 }) 195 # Put absolute Nix paths in place 196 ++ lib.optional enableConvert (substituteAll { 197 src = ./convert-plugin-ffmpeg-path.patch; 198 + ffmpeg = lib.getBin ffmpeg; 199 }) 200 ++ lib.optional enableBadfiles (substituteAll { 201 src = ./badfiles-plugin-nix-paths.patch; ··· 250 EDITOR="${writeScript "beetconfig.sh" '' 251 #!${runtimeShell} 252 cat > "$1" <<CFG 253 + plugins: ${lib.concatStringsSep " " allEnabledPlugins} 254 CFG 255 ''}" HOME="$tmphome" "$out/bin/beet" config -e 256 EDITOR=true HOME="$tmphome" "$out/bin/beet" config -e ··· 266 updateScript = unstableGitUpdater { url = "https://github.com/beetbox/beets"; }; 267 }; 268 269 + meta = with lib; { 270 description = "Music tagger and library organizer"; 271 homepage = "http://beets.io"; 272 license = licenses.mit;
+13 -16
pkgs/tools/misc/lorri/default.nix
··· 1 - { lib, stdenv 2 , pkgs 3 , fetchFromGitHub 4 , rustPlatform 5 - # Updater script 6 - , runtimeShell 7 , writers 8 - # Tests 9 , nixosTests 10 - # Apple dependencies 11 , CoreServices 12 , Security 13 }: ··· 22 in (rustPlatform.buildRustPackage rec { 23 pname = "lorri"; 24 inherit version; 25 - 26 - meta = with lib; { 27 - description = "Your project's nix-env"; 28 - homepage = "https://github.com/nix-community/lorri"; 29 - license = licenses.asl20; 30 - maintainers = with maintainers; [ grahamc Profpatsch ]; 31 - }; 32 33 src = fetchFromGitHub { 34 owner = "nix-community"; ··· 43 doCheck = false; 44 45 BUILD_REV_COUNT = src.revCount or 1; 46 - RUN_TIME_CLOSURE = pkgs.callPackage ./runtime.nix {}; 47 48 - nativeBuildInputs = with pkgs; [ rustPackages.rustfmt ]; 49 - buildInputs = 50 - lib.optionals stdenv.isDarwin [ CoreServices Security ]; 51 52 # copy the docs to the $man and $doc outputs 53 postInstall = '' ··· 69 tests = { 70 nixos = nixosTests.lorri; 71 }; 72 }; 73 })
··· 1 + { lib 2 + , stdenv 3 , pkgs 4 + , rustPackages 5 , fetchFromGitHub 6 , rustPlatform 7 , writers 8 , nixosTests 9 , CoreServices 10 , Security 11 }: ··· 20 in (rustPlatform.buildRustPackage rec { 21 pname = "lorri"; 22 inherit version; 23 24 src = fetchFromGitHub { 25 owner = "nix-community"; ··· 34 doCheck = false; 35 36 BUILD_REV_COUNT = src.revCount or 1; 37 + RUN_TIME_CLOSURE = pkgs.callPackage ./runtime.nix { }; 38 39 + nativeBuildInputs = [ rustPackages.rustfmt ]; 40 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ]; 41 42 # copy the docs to the $man and $doc outputs 43 postInstall = '' ··· 59 tests = { 60 nixos = nixosTests.lorri; 61 }; 62 + }; 63 + 64 + meta = with lib; { 65 + description = "Your project's nix-env"; 66 + homepage = "https://github.com/target/lorri"; 67 + license = licenses.asl20; 68 + maintainers = with maintainers; [ grahamc Profpatsch ]; 69 }; 70 })
+3 -2
pkgs/tools/security/hashdeep/default.nix
··· 17 description = "A set of cross-platform tools to compute hashes"; 18 homepage = "https://github.com/jessek/hashdeep"; 19 license = licenses.gpl2; 20 # Build fails on Darwin: 21 # > ./xml.h:103:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] 22 # > void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } 23 - platforms = with platforms; linux ++ freebsd ++ openbsd; 24 - maintainers = [ maintainers.karantan ]; 25 }; 26 }
··· 17 description = "A set of cross-platform tools to compute hashes"; 18 homepage = "https://github.com/jessek/hashdeep"; 19 license = licenses.gpl2; 20 + maintainers = [ maintainers.karantan ]; 21 + platforms = platforms.all; 22 # Build fails on Darwin: 23 # > ./xml.h:103:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] 24 # > void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); } 25 + broken = stdenv.isDarwin; 26 }; 27 }