Merge master into staging-next

authored by github-actions[bot] and committed by GitHub f0bb8c9a 04828c85

+106 -55
+2 -2
pkgs/applications/misc/pdfdiff/default.nix
··· 13 14 buildInputs = [ pythonPackages.wrapPython ]; 15 16 doCheck = false; 17 - 18 - phases = [ "unpackPhase" "patchPhase" "installPhase" ]; 19 20 unpackPhase = "cp $src pdfdiff.py"; 21
··· 13 14 buildInputs = [ pythonPackages.wrapPython ]; 15 16 + dontConfigure = true; 17 + dontBuild = true; 18 doCheck = false; 19 20 unpackPhase = "cp $src pdfdiff.py"; 21
+11
pkgs/applications/networking/remote/citrix-workspace/sources.nix
··· 89 x86suffix = "38"; 90 homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html"; 91 }; 92 }; 93 94 # Retain attribute-names for abandoned versions of Citrix workspace to
··· 89 x86suffix = "38"; 90 homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html"; 91 }; 92 + 93 + "21.06.0" = { 94 + major = "21"; 95 + minor = "6"; 96 + patch = "0"; 97 + x64hash = "f3f98c60b0aaac31eb44dc98f22ee7ae7df229c960d5d29785eb5e9554f85f68"; 98 + x86hash = "c2d9652ad9488a9ff171e62df8455ebe6890bcfade1cc289893ee35322d9d812"; 99 + x64suffix = "28"; 100 + x86suffix = "28"; 101 + homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html"; 102 + }; 103 }; 104 105 # Retain attribute-names for abandoned versions of Citrix workspace to
+7 -8
pkgs/applications/science/logic/leo3/binary.nix
··· 3 pname = "leo3"; 4 version = "1.2"; 5 6 - jar = fetchurl { 7 url = "https://github.com/leoprover/Leo-III/releases/download/v${version}/leo3.jar"; 8 sha256 = "1lgwxbr1rnk72rnvc8raq5i1q71ckhn998pwd9xk6zf27wlzijk7"; 9 }; 10 11 - phases=["installPhase" "fixupPhase"]; 12 13 installPhase = '' 14 mkdir -p "$out"/{bin,lib/java/leo3} 15 - cp "${jar}" "$out/lib/java/leo3/leo3.jar" 16 echo "#!${runtimeShell}" > "$out/bin/leo3" 17 echo "'${openjdk}/bin/java' -jar '$out/lib/java/leo3/leo3.jar' \"\$@\"" >> "$out/bin/leo3" 18 chmod a+x "$out/bin/leo3" 19 ''; 20 21 - meta = { 22 - inherit version; 23 description = "An automated theorem prover for classical higher-order logic with choice"; 24 - license = lib.licenses.bsd3; 25 - maintainers = [lib.maintainers.raskin]; 26 - platforms = lib.platforms.linux; 27 homepage = "https://page.mi.fu-berlin.de/lex/leo3/"; 28 }; 29 }
··· 3 pname = "leo3"; 4 version = "1.2"; 5 6 + src = fetchurl { 7 url = "https://github.com/leoprover/Leo-III/releases/download/v${version}/leo3.jar"; 8 sha256 = "1lgwxbr1rnk72rnvc8raq5i1q71ckhn998pwd9xk6zf27wlzijk7"; 9 }; 10 11 + dontUnpack = true; 12 13 installPhase = '' 14 mkdir -p "$out"/{bin,lib/java/leo3} 15 + cp "${src}" "$out/lib/java/leo3/leo3.jar" 16 echo "#!${runtimeShell}" > "$out/bin/leo3" 17 echo "'${openjdk}/bin/java' -jar '$out/lib/java/leo3/leo3.jar' \"\$@\"" >> "$out/bin/leo3" 18 chmod a+x "$out/bin/leo3" 19 ''; 20 21 + meta = with lib; { 22 description = "An automated theorem prover for classical higher-order logic with choice"; 23 + license = licenses.bsd3; 24 + maintainers = [maintainers.raskin]; 25 + platforms = platforms.linux; 26 homepage = "https://page.mi.fu-berlin.de/lex/leo3/"; 27 }; 28 }
+1 -1
pkgs/applications/search/grepm/default.nix
··· 9 sha256 = "0ppprhfw06779hz1b10qvq62gsw73shccsav982dyi6xmqb6jqji"; 10 }; 11 12 - phases = [ "installPhase" ]; 13 14 buildInputs = [ perlPackages.grepmail mutt ]; 15
··· 9 sha256 = "0ppprhfw06779hz1b10qvq62gsw73shccsav982dyi6xmqb6jqji"; 10 }; 11 12 + dontUnpack = true; 13 14 buildInputs = [ perlPackages.grepmail mutt ]; 15
+3 -3
pkgs/development/tools/bazelisk/default.nix
··· 2 3 buildGoModule rec { 4 pname = "bazelisk"; 5 - version = "1.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "bazelbuild"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-APHRNCJNQ4cheY+wBB8q4fcOOL6SFeg5SflvnrxjYhI="; 12 }; 13 14 - vendorSha256 = "sha256-+B+5GQTEiCwLCoGB5uIIJEWJRjylgt9txcsJCXcOAQs="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "bazelisk"; 5 + version = "1.10.0"; 6 7 src = fetchFromGitHub { 8 owner = "bazelbuild"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-G2cHKhgsv1fj7eKbADER3R2uXp9DnKevboE7vnO5pDE="; 12 }; 13 14 + vendorSha256 = "sha256-5qpeAD4VFsR8iJlRiNTncOdq39lq3MU6gSLu3G/BcPU="; 15 16 doCheck = false; 17
+8
pkgs/development/tools/build-managers/rebar3/default.nix
··· 39 HOME=. escript bootstrap 40 ''; 41 42 checkPhase = '' 43 HOME=. escript ./rebar3 ct 44 '';
··· 39 HOME=. escript bootstrap 40 ''; 41 42 + 43 + patches = [] 44 + # Skips test that can write outside the designated tmp directory, potentially resulting in build failures 45 + # due to file ownership issues if ran without sandbox (eg. Mac M1 default). This patch can be Removed when 46 + # rebar3 releases with the following commit: 47 + # https://github.com/erlang/rebar3/commit/11055384dbd5bf7d181bca83a33b0e100275ff21 48 + ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ ./tmp-tests-skip.patch ]; 49 + 50 checkPhase = '' 51 HOME=. escript ./rebar3 ct 52 '';
+17
pkgs/development/tools/build-managers/rebar3/tmp-tests-skip.patch
···
··· 1 + diff --git a/test/rebar_file_utils_SUITE.erl b/test/rebar_file_utils_SUITE.erl 2 + index d771a82..05cfbf7 100644 3 + --- a/test/rebar_file_utils_SUITE.erl 4 + +++ b/test/rebar_file_utils_SUITE.erl 5 + @@ -34,13 +34,11 @@ 6 + 7 + all() -> 8 + [{group, tmpdir}, 9 + - {group, reset_dir}, 10 + {group, mv}, 11 + path_from_ancestor, 12 + canonical_path, 13 + absolute_path, 14 + normalized_path, 15 + - resolve_link, 16 + split_dirname, 17 + mv_warning_is_ignored].
+1
pkgs/development/tools/parsing/tree-sitter/grammars/default.nix
··· 16 tree-sitter-jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); 17 tree-sitter-json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.json)); 18 tree-sitter-julia = (builtins.fromJSON (builtins.readFile ./tree-sitter-julia.json)); 19 tree-sitter-lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); 20 tree-sitter-markdown = (builtins.fromJSON (builtins.readFile ./tree-sitter-markdown.json)); 21 tree-sitter-nix = (builtins.fromJSON (builtins.readFile ./tree-sitter-nix.json));
··· 16 tree-sitter-jsdoc = (builtins.fromJSON (builtins.readFile ./tree-sitter-jsdoc.json)); 17 tree-sitter-json = (builtins.fromJSON (builtins.readFile ./tree-sitter-json.json)); 18 tree-sitter-julia = (builtins.fromJSON (builtins.readFile ./tree-sitter-julia.json)); 19 + tree-sitter-latex = (builtins.fromJSON (builtins.readFile ./tree-sitter-latex.json)); 20 tree-sitter-lua = (builtins.fromJSON (builtins.readFile ./tree-sitter-lua.json)); 21 tree-sitter-markdown = (builtins.fromJSON (builtins.readFile ./tree-sitter-markdown.json)); 22 tree-sitter-nix = (builtins.fromJSON (builtins.readFile ./tree-sitter-nix.json));
+10
pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-latex.json
···
··· 1 + { 2 + "url": "https://github.com/latex-lsp/tree-sitter-latex", 3 + "rev": "7f720661de5316c0f8fee956526d4002fa1086d8", 4 + "date": "2021-05-11T16:35:53+02:00", 5 + "path": "/nix/store/ssqxahrza89qmb97bxas6dvhbqd7w0dr-tree-sitter-latex", 6 + "sha256": "14jfmbv3czs643bggcsi3pyxhf81jirpvg8hxcbcdx1f3fzhs16m", 7 + "fetchSubmodules": false, 8 + "deepClone": false, 9 + "leaveDotGit": false 10 + }
+4
pkgs/development/tools/parsing/tree-sitter/update.nix
··· 74 orga = "cstrahan"; 75 repo = "tree-sitter-nix"; 76 }; 77 "tree-sitter-lua" = { 78 orga = "nvim-treesitter"; 79 repo = "tree-sitter-lua";
··· 74 orga = "cstrahan"; 75 repo = "tree-sitter-nix"; 76 }; 77 + "tree-sitter-latex" = { 78 + orga = "latex-lsp"; 79 + repo = "tree-sitter-latex"; 80 + }; 81 "tree-sitter-lua" = { 82 orga = "nvim-treesitter"; 83 repo = "tree-sitter-lua";
+2 -2
pkgs/development/web/nodejs/v16.nix
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 - version = "16.4.2"; 12 - sha256 = "048x4vznpi6dai6fripg0yk21kfxm9s2mw7jb0rzisyv5aw8v2dj"; 13 }
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 + version = "16.5.0"; 12 + sha256 = "16dapj5pm2y1m3ldrjjlz8rq9axk85nn316iz02nk6qjs66y6drz"; 13 }
+10 -3
pkgs/servers/uwsgi/default.nix
··· 14 }; 15 16 pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" { 17 - interpreter = pkg.interpreter; 18 path = "plugins/python"; 19 inputs = [ pkg ncurses ]; 20 install = '' 21 install -Dm644 uwsgidecorators.py $out/${pkg.sitePackages}/uwsgidecorators.py 22 - ${pkg.executable} -m compileall $out/${pkg.sitePackages}/ 23 - ${pkg.executable} -O -m compileall $out/${pkg.sitePackages}/ 24 ''; 25 }; 26 ··· 90 passthru = { 91 inherit python2 python3; 92 }; 93 94 configurePhase = '' 95 export pluginDir=$out/lib/uwsgi
··· 14 }; 15 16 pythonPlugin = pkg : lib.nameValuePair "python${if pkg.isPy2 then "2" else "3"}" { 17 + interpreter = pkg.pythonForBuild.interpreter; 18 path = "plugins/python"; 19 inputs = [ pkg ncurses ]; 20 install = '' 21 install -Dm644 uwsgidecorators.py $out/${pkg.sitePackages}/uwsgidecorators.py 22 + ${pkg.pythonForBuild.executable} -m compileall $out/${pkg.sitePackages}/ 23 + ${pkg.pythonForBuild.executable} -O -m compileall $out/${pkg.sitePackages}/ 24 ''; 25 }; 26 ··· 90 passthru = { 91 inherit python2 python3; 92 }; 93 + 94 + postPatch = '' 95 + for f in uwsgiconfig.py plugins/*/uwsgiplugin.py; do 96 + substituteInPlace "$f" \ 97 + --replace pkg-config "$PKG_CONFIG" 98 + done 99 + ''; 100 101 configurePhase = '' 102 export pluginDir=$out/lib/uwsgi
+25 -12
pkgs/tools/backup/rdiff-backup/default.nix
··· 1 - {lib, fetchurl, python2Packages, librsync, gnused }: 2 3 - python2Packages.buildPythonApplication { 4 - name = "rdiff-backup-1.3.3"; 5 6 - src = fetchurl { 7 - url = "mirror://savannah/rdiff-backup/rdiff-backup-1.3.3.tar.gz"; 8 - sha256 = "01hcwf5rgqi303fa4kdjkbpa7n8mvvh7h9gpgh2b23nz73k0q0zf"; 9 }; 10 11 - patches = [ ./fix-librsync-rs_default_strong_len.patch ]; 12 13 - buildInputs = [ librsync gnused ]; 14 15 doCheck = false; 16 17 - meta = { 18 description = "Backup system trying to combine best a mirror and an incremental backup system"; 19 - homepage = "http://rdiff-backup.nongnu.org/"; 20 - license = lib.licenses.gpl2; 21 - platforms = lib.platforms.all; 22 }; 23 }
··· 1 + { lib, python3Packages, librsync }: 2 3 + let 4 + pypkgs = python3Packages; 5 + 6 + in 7 + pypkgs.buildPythonApplication rec { 8 + pname = "rdiff-backup"; 9 + version = "2.0.5"; 10 11 + src = pypkgs.fetchPypi { 12 + inherit pname version; 13 + sha256 = "sha256-VNFgOOYgFO2RbHHIMDsH0vphpqaAOMoYn8LTFTSw84s="; 14 }; 15 16 + # pkg_resources fails to find the version and then falls back to "DEV" 17 + postPatch = '' 18 + substituteInPlace src/rdiff_backup/Globals.py \ 19 + --replace 'version = "DEV"' 'version = "${version}"' 20 + ''; 21 + 22 + buildInputs = [ librsync ]; 23 24 + nativeBuildInputs = with pypkgs; [ setuptools-scm ]; 25 26 + # no tests from pypi 27 doCheck = false; 28 29 + meta = with lib; { 30 description = "Backup system trying to combine best a mirror and an incremental backup system"; 31 + homepage = "https://rdiff-backup.net"; 32 + license = licenses.gpl2Only; 33 + maintainers = with maintainers; [ peterhoeg ]; 34 + platforms = platforms.all; 35 }; 36 }
-20
pkgs/tools/backup/rdiff-backup/fix-librsync-rs_default_strong_len.patch
··· 1 - Patch by Roman Tereshonkov and Kari Hautio for rdiff-backup <= 1.2.8 to avoid a build failure with 2 - librsync >= 1.0.0 (which is a security bugfix release). The discussion and solution finding can be 3 - found at https://bugs.launchpad.net/duplicity/+bug/1416344 (for duplicity). 4 - 5 - --- rdiff-backup-1.2.8/_librsyncmodule.c 2009-03-16 15:36:21.000000000 +0100 6 - +++ rdiff-backup-1.2.8/_librsyncmodule.c.librsync-1.0.0 2015-03-02 00:54:24.000000000 +0100 7 - @@ -59,8 +59,13 @@ 8 - if (sm == NULL) return NULL; 9 - sm->x_attr = NULL; 10 - 11 - +#ifdef RS_DEFAULT_STRONG_LEN 12 - sm->sig_job = rs_sig_begin((size_t)blocklen, 13 - (size_t)RS_DEFAULT_STRONG_LEN); 14 - +#else 15 - + sm->sig_job = rs_sig_begin((size_t)blocklen, 16 - + (size_t)8, RS_MD4_SIG_MAGIC); 17 - +#endif 18 - return (PyObject*)sm; 19 - } 20 -
···
+3 -3
pkgs/tools/misc/starship/default.nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "starship"; 14 - version = "0.55.0"; 15 16 src = fetchFromGitHub { 17 owner = "starship"; 18 repo = pname; 19 rev = "v${version}"; 20 - sha256 = "sha256-zXXjy90oxLO/Ac/TQC4J6rOvha2qGBMv0SAAXvDyITo="; 21 }; 22 23 nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; ··· 32 done 33 ''; 34 35 - cargoSha256 = "sha256-TXmV1saqZ/XS4HxKpGXWu3HuoZ3WIptSc8oTNnPCqYE="; 36 37 preCheck = '' 38 HOME=$TMPDIR
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "starship"; 14 + version = "0.56.0"; 15 16 src = fetchFromGitHub { 17 owner = "starship"; 18 repo = pname; 19 rev = "v${version}"; 20 + sha256 = "0wcldggdavmxajq6dkksdacs5f4729yvxvqiyb9vgalv4akik4yj"; 21 }; 22 23 nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; ··· 32 done 33 ''; 34 35 + cargoSha256 = "1ligh5mwids7crf2qh657sdij9fcw7pb3w7vqskpvkyk25h2z6r9"; 36 37 preCheck = '' 38 HOME=$TMPDIR
+2 -1
pkgs/top-level/all-packages.nix
··· 3656 3657 circus = callPackage ../tools/networking/circus { }; 3658 3659 - citrix_workspace = citrix_workspace_21_03_0; 3660 3661 inherit (callPackage ../applications/networking/remote/citrix-workspace { }) 3662 citrix_workspace_20_04_0 ··· 3666 citrix_workspace_20_12_0 3667 citrix_workspace_21_01_0 3668 citrix_workspace_21_03_0 3669 ; 3670 3671 citra = libsForQt5.callPackage ../misc/emulators/citra { };
··· 3656 3657 circus = callPackage ../tools/networking/circus { }; 3658 3659 + citrix_workspace = citrix_workspace_21_06_0; 3660 3661 inherit (callPackage ../applications/networking/remote/citrix-workspace { }) 3662 citrix_workspace_20_04_0 ··· 3666 citrix_workspace_20_12_0 3667 citrix_workspace_21_01_0 3668 citrix_workspace_21_03_0 3669 + citrix_workspace_21_06_0 3670 ; 3671 3672 citra = libsForQt5.callPackage ../misc/emulators/citra { };