Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
243d7607 90a3ecee

+86 -80
+10
maintainers/maintainer-list.nix
··· 3039 githubId = 36110478; 3040 name = "Erik Arvstedt"; 3041 }; 3042 ebzzry = { 3043 email = "ebzzry@ebzzry.io"; 3044 github = "ebzzry";
··· 3039 githubId = 36110478; 3040 name = "Erik Arvstedt"; 3041 }; 3042 + ebbertd = { 3043 + email = "daniel@ebbert.nrw"; 3044 + github = "ebbertd"; 3045 + githubId = 20522234; 3046 + name = "Daniel Ebbert"; 3047 + keys = [{ 3048 + longkeyid = "rsa2048/0x47BC155927CBB9C7"; 3049 + fingerprint = "E765 FCA3 D9BF 7FDB 856E AD73 47BC 1559 27CB B9C7"; 3050 + }]; 3051 + }; 3052 ebzzry = { 3053 email = "ebzzry@ebzzry.io"; 3054 github = "ebzzry";
+15 -5
pkgs/applications/audio/friture/default.nix
··· 1 - { lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }: 2 3 let 4 py = python3Packages; 5 in py.buildPythonApplication rec { 6 pname = "friture"; 7 - version = "0.47"; 8 9 src = fetchFromGitHub { 10 owner = "tlecomte"; 11 repo = pname; 12 rev = "v${version}"; 13 - sha256 = "1qcsvmgdz9hhv5gaa918147wvng6manc4iq8ci6yr761ljqrgwjx"; 14 }; 15 16 nativeBuildInputs = (with py; [ numpy cython scipy ]) ++ ··· 29 ]; 30 31 patches = [ 32 - ./unlock_constraints.patch 33 ]; 34 35 preFixup = '' 36 makeWrapperArgs+=("''${qtWrapperArgs[@]}") ··· 53 homepage = "https://friture.org/"; 54 license = licenses.gpl3; 55 platforms = platforms.linux; # fails on Darwin 56 - maintainers = [ maintainers.laikq ]; 57 }; 58 }
··· 1 + { lib, fetchFromGitHub, fetchpatch, python3Packages, wrapQtAppsHook }: 2 3 let 4 py = python3Packages; 5 in py.buildPythonApplication rec { 6 pname = "friture"; 7 + version = "0.48"; 8 9 src = fetchFromGitHub { 10 owner = "tlecomte"; 11 repo = pname; 12 rev = "v${version}"; 13 + sha256 = "sha256-oOH58jD49xAeSuP+l6tYUpwkYsnfeSGTt8x4DFzTY6g="; 14 }; 15 16 nativeBuildInputs = (with py; [ numpy cython scipy ]) ++ ··· 29 ]; 30 31 patches = [ 32 + # Backported fix that resolves an issue with setuptools packaging 33 + (fetchpatch { 34 + name = "fix-setuptools-packaging.patch"; 35 + url = "https://github.com/tlecomte/friture/commit/ea7210dae883edf17de8fec82f9428b18ee138b6.diff"; 36 + sha256 = "sha256-Kv/vmC8kcqfOgfIPQyZN46sbV6bezhq6pyj8bvke6s8="; 37 + }) 38 ]; 39 + 40 + postPatch = '' 41 + # Remove version constraints from Python dependencies in setup.py 42 + sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py 43 + ''; 44 45 preFixup = '' 46 makeWrapperArgs+=("''${qtWrapperArgs[@]}") ··· 63 homepage = "https://friture.org/"; 64 license = licenses.gpl3; 65 platforms = platforms.linux; # fails on Darwin 66 + maintainers = with maintainers; [ laikq alyaeanyx ]; 67 }; 68 }
-34
pkgs/applications/audio/friture/unlock_constraints.patch
··· 1 - diff --git a/setup.py b/setup.py 2 - index 4092388..6cb7dac 100644 3 - --- a/setup.py 4 - +++ b/setup.py 5 - @@ -50,19 +50,19 @@ ext_modules = [LateIncludeExtension("friture_extensions.exp_smoothing_conv", 6 - # these will be installed when calling 'pip install friture' 7 - # they are also retrieved by 'requirements.txt' 8 - install_requires = [ 9 - - "sounddevice==0.4.2", 10 - - "rtmixer==0.1.3", 11 - - "PyOpenGL==3.1.5", 12 - - "PyOpenGL-accelerate==3.1.5", 13 - - "docutils==0.17.1", 14 - - "numpy==1.21.1", 15 - - "PyQt5==5.15.4", 16 - - "appdirs==1.4.4", 17 - - "pyrr==0.10.3", 18 - + "sounddevice>=0.4.1", 19 - + "rtmixer>=0.1.1", 20 - + "PyOpenGL>=3.1.4", 21 - + "PyOpenGL-accelerate>=3.1.5", 22 - + "docutils>=0.17.1", 23 - + "numpy>=1.20.3", 24 - + "PyQt5>=5.15.4", 25 - + "appdirs>=1.4.4", 26 - + "pyrr>=0.10.3", 27 - ] 28 - 29 - # Cython and numpy are needed when running setup.py, to build extensions 30 - -setup_requires=["numpy==1.21.1", "Cython==0.29.24"] 31 - +setup_requires=["numpy>=1.20.3", "Cython>=0.29.22"] 32 - 33 - with open(join(dirname(__file__), 'README.rst')) as f: 34 - long_description = f.read()
···
+2 -2
pkgs/applications/audio/vmpk/default.nix
··· 5 6 mkDerivation rec { 7 pname = "vmpk"; 8 - version = "0.8.2"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2"; 12 - sha256 = "1kv256j13adk4ib7r464gsl4vjhih820bq37ddhqfyfd07wh53a2"; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
··· 5 6 mkDerivation rec { 7 pname = "vmpk"; 8 + version = "0.8.4"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2"; 12 + sha256 = "sha256-SSdD8dyn6abti8qkd7N5n8EYr5yMW+EPYUnRm7S9CE4="; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config qttools docbook-xsl-nons ];
+7 -12
pkgs/applications/editors/emacs/elisp-packages/bqn-mode/default.nix
··· 5 6 trivialBuild { 7 pname = "bqn-mode"; 8 - version = "0.0.0+unstable=2021-09-26"; 9 10 src = fetchFromGitHub { 11 - owner = "mlochbaum"; 12 - repo = "BQN"; 13 - rev = "97cbdc67fe6a9652c42daefadd658cc41c1e5ae3"; 14 - sha256 = "09nmsl7gzyi56g0x459a6571c8nsafl0g350m0hk1vy2gpg6yq0p"; 15 }; 16 17 - postUnpack = '' 18 - sourceRoot="$sourceRoot/editors/emacs" 19 - ''; 20 - 21 meta = with lib; { 22 - homepage = "https://mlochbaum.github.io/BQN/editors/index.html"; 23 - description = "Emacs mode for BQN"; 24 license = licenses.gpl3Only; 25 - maintainers = [ maintainers.sternenseemann ]; 26 }; 27 }
··· 5 6 trivialBuild { 7 pname = "bqn-mode"; 8 + version = "0.0.0+unstable=2021-09-27"; 9 10 src = fetchFromGitHub { 11 + owner = "AndersonTorres"; 12 + repo = "bqn-mode"; 13 + rev = "5bdc713ade78f11d756231739429440552d7faf8"; 14 + hash = "sha256-ztGHWKVgMP9N4hV9k0PY9LxqXgHxkycyF3N0eZ+jIZs="; 15 }; 16 17 meta = with lib; { 18 + description = "Emacs mode for BQN programming language"; 19 license = licenses.gpl3Only; 20 + maintainers = with maintainers; [ sternenseemann AndersonTorres ]; 21 }; 22 }
+5 -6
pkgs/applications/misc/blender/default.nix
··· 136 NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 137 138 blenderExecutable = 139 - placeholder "out" + (if stdenv.isDarwin then "/Blender.app/Contents/MacOS/Blender" else "/bin/blender"); 140 - postInstall = '' 141 buildPythonPath "$pythonPath" 142 wrapProgram $blenderExecutable \ 143 --prefix PATH : $program_PATH \ 144 --prefix PYTHONPATH : "$program_PYTHONPATH" \ 145 --add-flags '--python-use-system-env' 146 - '' + lib.optionalString stdenv.isDarwin '' 147 - mkdir -p $out/Applications/Blender.app 148 - ln -s $out/Blender.app $out/Applications/Blender.app 149 - ln -s $out/Blender.app/Contents/MacOS $out/bin 150 ''; 151 152 # Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
··· 136 NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 137 138 blenderExecutable = 139 + placeholder "out" + (if stdenv.isDarwin then "/Applications/Blender.app/Contents/MacOS/Blender" else "/bin/blender"); 140 + postInstall = lib.optionalString stdenv.isDarwin '' 141 + mkdir $out/Applications 142 + mv $out/Blender.app $out/Applications 143 + '' + '' 144 buildPythonPath "$pythonPath" 145 wrapProgram $blenderExecutable \ 146 --prefix PATH : $program_PATH \ 147 --prefix PYTHONPATH : "$program_PYTHONPATH" \ 148 --add-flags '--python-use-system-env' 149 ''; 150 151 # Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
+2 -2
pkgs/applications/misc/gallery-dl/default.nix
··· 2 3 buildPythonApplication rec { 4 pname = "gallery_dl"; 5 - version = "1.18.4"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "bdb84706fdde867fe2ee11c74c8c51af4e560399bd5fa562f19bfcaf8fc0dac9"; 10 }; 11 12 propagatedBuildInputs = [ requests ];
··· 2 3 buildPythonApplication rec { 4 pname = "gallery_dl"; 5 + version = "1.19.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "ceffaa5022d76132165ca9004c1e57d7400b56c9ab3866e3bd139e2ffe38cb72"; 10 }; 11 12 propagatedBuildInputs = [ requests ];
+8 -2
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 94 95 srcs = { 96 x86_64-linux = fetchurl { 97 - url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"; 98 sha256 = "1hxjixriah08c65nngjdp1blbji1vlnhqkphp8f96hy34hk4dpiw"; 99 }; 100 101 i686-linux = fetchurl { 102 - url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"; 103 sha256 = "018kwwbbn02drvdj0bjkcyhsnbx97wnmd3lxkrx0kc9dw1s4r418"; 104 }; 105 };
··· 94 95 srcs = { 96 x86_64-linux = fetchurl { 97 + urls = [ 98 + "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" 99 + "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" 100 + ]; 101 sha256 = "1hxjixriah08c65nngjdp1blbji1vlnhqkphp8f96hy34hk4dpiw"; 102 }; 103 104 i686-linux = fetchurl { 105 + urls = [ 106 + "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" 107 + "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" 108 + ]; 109 sha256 = "018kwwbbn02drvdj0bjkcyhsnbx97wnmd3lxkrx0kc9dw1s4r418"; 110 }; 111 };
+2 -2
pkgs/applications/virtualization/podman/default.nix
··· 17 18 buildGoModule rec { 19 pname = "podman"; 20 - version = "3.3.1"; 21 22 src = fetchFromGitHub { 23 owner = "containers"; 24 repo = "podman"; 25 rev = "v${version}"; 26 - sha256 = "sha256-DVRLdJFYD5Ovc0n5SoMv71GPTuBO3wfqREcGRJEuND0="; 27 }; 28 29 vendorSha256 = null;
··· 17 18 buildGoModule rec { 19 pname = "podman"; 20 + version = "3.4.0"; 21 22 src = fetchFromGitHub { 23 owner = "containers"; 24 repo = "podman"; 25 rev = "v${version}"; 26 + sha256 = "sha256-AeddndkKyUs9i0bg0XO5QCmYgqgWREnHWsmce6VM7Oo="; 27 }; 28 29 vendorSha256 = null;
+2 -2
pkgs/development/python-modules/pathvalidate/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "pathvalidate"; 5 - version = "2.4.1"; 6 disabled = pythonOlder "3.5"; 7 8 src = fetchPypi { 9 inherit pname version; 10 - sha256 = "sha256-PJvZTH7CPpz7IR/741audfl51sCZosdF7pSQ9STzJGg="; 11 }; 12 13 # Requires `pytest-md-report`, causing infinite recursion.
··· 2 3 buildPythonPackage rec { 4 pname = "pathvalidate"; 5 + version = "2.5.0"; 6 disabled = pythonOlder "3.5"; 7 8 src = fetchPypi { 9 inherit pname version; 10 + sha256 = "119ba36be7e9a405d704c7b7aea4b871c757c53c9adc0ed64f40be1ed8da2781"; 11 }; 12 13 # Requires `pytest-md-report`, causing infinite recursion.
+2 -2
pkgs/development/tools/buildah/default.nix
··· 14 15 buildGoModule rec { 16 pname = "buildah"; 17 - version = "1.23.0"; 18 19 src = fetchFromGitHub { 20 owner = "containers"; 21 repo = "buildah"; 22 rev = "v${version}"; 23 - sha256 = "sha256-MhPbABGgQG0sAHVnUA9PUGqaVYWd/YsY2pyf8H4uTe8="; 24 }; 25 26 outputs = [ "out" "man" ];
··· 14 15 buildGoModule rec { 16 pname = "buildah"; 17 + version = "1.23.1"; 18 19 src = fetchFromGitHub { 20 owner = "containers"; 21 repo = "buildah"; 22 rev = "v${version}"; 23 + sha256 = "sha256-vAuUA51E1pufn3YvNe4yfqJHXo14iUEA5MzP3/ah+8I="; 24 }; 25 26 outputs = [ "out" "man" ];
+16
pkgs/misc/vscode-extensions/default.nix
··· 406 }; 407 }; 408 409 denoland.vscode-deno = buildVscodeMarketplaceExtension { 410 mktplcRef = { 411 name = "vscode-deno";
··· 406 }; 407 }; 408 409 + davidlday.languagetool-linter = buildVscodeMarketplaceExtension { 410 + mktplcRef = { 411 + name = "languagetool-linter"; 412 + publisher = "davidlday"; 413 + version = "0.18.0"; 414 + sha256 = "sha256-AYINgq1BMfh7p4xhwSC2Www6dQvyQAGTA45HJsmMGDg="; 415 + }; 416 + meta = with lib; { 417 + description = "LanguageTool integration for VS Code"; 418 + downloadPage = "https://marketplace.visualstudio.com/items?itemName=davidlday.languagetool-linter"; 419 + homepage = "https://github.com/davidlday/vscode-languagetool-linter"; 420 + license = licenses.asl20; 421 + maintainers = with maintainers; [ ebbertd ]; 422 + }; 423 + }; 424 + 425 denoland.vscode-deno = buildVscodeMarketplaceExtension { 426 mktplcRef = { 427 name = "vscode-deno";
+12 -8
pkgs/tools/archivers/rar/default.nix
··· 2 3 let 4 version = "6.0.2"; 5 - # TODO: add support for macOS 6 - srcUrl = 7 - if stdenv.isi686 then { 8 url = "https://www.rarlab.com/rar/rarlinux-${version}.tar.gz"; 9 - sha256 = "sha256-5iqK7eOo+hgLtGSCqUoB+wOFZHUqZ0M/8Jf7bxdf9qA="; 10 - } else if stdenv.isx86_64 then { 11 url = "https://www.rarlab.com/rar/rarlinux-x64-${version}.tar.gz"; 12 sha256 = "sha256-WAvrUGCgfwI51Mo/RYSSF0OLPPrTegUCuDEsnBeR9uQ="; 13 - } 14 - else throw "Unknown architecture"; 15 manSrc = fetchurl { 16 url = "https://aur.archlinux.org/cgit/aur.git/plain/rar.1?h=rar&id=8e39a12e88d8a3b168c496c44c18d443c876dd10"; 17 name = "rar.1"; ··· 50 homepage = "https://www.rarlab.com/"; 51 license = licenses.unfree; 52 maintainers = with maintainers; [ thiagokokada ]; 53 - platforms = platforms.linux; 54 }; 55 }
··· 2 3 let 4 version = "6.0.2"; 5 + srcUrl = { 6 + i686-linux = { 7 url = "https://www.rarlab.com/rar/rarlinux-${version}.tar.gz"; 8 + sha256 = "sha256-5iqk7eoo+hgltgscquob+wofzhuqz0m/8jf7bxdf9qa="; 9 + }; 10 + x86_64-linux = { 11 url = "https://www.rarlab.com/rar/rarlinux-x64-${version}.tar.gz"; 12 sha256 = "sha256-WAvrUGCgfwI51Mo/RYSSF0OLPPrTegUCuDEsnBeR9uQ="; 13 + }; 14 + x86_64-darwin = { 15 + url = "https://www.rarlab.com/rar/rarosx-${version}.tar.gz"; 16 + sha256 = "sha256-baZ71vYXIGs25f7PJ0ujoGUrsWZRmFLhvDI0KoVktsg="; 17 + }; 18 + }.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); 19 manSrc = fetchurl { 20 url = "https://aur.archlinux.org/cgit/aur.git/plain/rar.1?h=rar&id=8e39a12e88d8a3b168c496c44c18d443c876dd10"; 21 name = "rar.1"; ··· 54 homepage = "https://www.rarlab.com/"; 55 license = licenses.unfree; 56 maintainers = with maintainers; [ thiagokokada ]; 57 + platforms = with platforms; linux ++ darwin; 58 }; 59 }
+3 -3
pkgs/tools/text/shfmt/default.nix
··· 2 3 buildGoModule rec { 4 pname = "shfmt"; 5 - version = "3.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "mvdan"; 9 repo = "sh"; 10 rev = "v${version}"; 11 - sha256 = "sha256-43v64TQS1xpmU9pyjSTgV03n7xYJR+JAfZVoK3vwbiY="; 12 }; 13 14 - vendorSha256 = "sha256-t1Zdn+NaHrKde6F5o86e+FmN3tH55YpZLuDhTv2lIf4="; 15 16 subPackages = [ "cmd/shfmt" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "shfmt"; 5 + version = "3.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "mvdan"; 9 repo = "sh"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Bxb4BlvAmJQhog3bZEGHJlrpXNqXpokkipBszPzRHSk="; 12 }; 13 14 + vendorSha256 = "sha256-ZYsQ+wE+G7xNrBN29npSxxPCz9+Wb/RsBzM5uwJkhO8="; 15 16 subPackages = [ "cmd/shfmt" ]; 17