Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
bb5521a6 459eb2d9

+215 -168
+31 -27
nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix
··· 7 7 */ 8 8 9 9 { config, lib, options, pkgs, ... }: 10 - 11 10 let 12 11 inherit (lib) 13 12 filterAttrs ··· 22 21 cfg = 23 22 config.services.hercules-ci-agent; 24 23 25 - format = pkgs.formats.toml {}; 24 + format = pkgs.formats.toml { }; 26 25 27 26 settingsModule = { config, ... }: { 28 27 freeformType = format.type; ··· 36 35 }; 37 36 concurrentTasks = mkOption { 38 37 description = '' 39 - Number of tasks to perform simultaneously, such as evaluations, derivations. 38 + Number of tasks to perform simultaneously. 39 + 40 + A task is a single derivation build or an evaluation. 41 + At minimum, you need 2 concurrent tasks for <literal>x86_64-linux</literal> 42 + in your cluster, to allow for import from derivation. 40 43 41 - You must have a total capacity across agents of at least 2 concurrent tasks on <literal>x86_64-linux</literal> 42 - to allow for import from derivation. 44 + <literal>concurrentTasks</literal> can be around the CPU core count or lower if memory is 45 + the bottleneck. 43 46 ''; 44 47 type = types.int; 45 48 default = 4; ··· 85 88 }; 86 89 }; 87 90 88 - # TODO (2022) remove 91 + # TODO (roberth, >=2022) remove 89 92 checkNix = 90 93 if !cfg.checkNix 91 94 then "" 92 95 else if lib.versionAtLeast config.nix.package.version "2.3.10" 93 96 then "" 94 - else pkgs.stdenv.mkDerivation { 95 - name = "hercules-ci-check-system-nix-src"; 96 - inherit (config.nix.package) src patches; 97 - configurePhase = ":"; 98 - buildPhase = '' 99 - echo "Checking in-memory pathInfoCache expiry" 100 - if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then 101 - cat 1>&2 <<EOF 97 + else 98 + pkgs.stdenv.mkDerivation { 99 + name = "hercules-ci-check-system-nix-src"; 100 + inherit (config.nix.package) src patches; 101 + configurePhase = ":"; 102 + buildPhase = '' 103 + echo "Checking in-memory pathInfoCache expiry" 104 + if ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then 105 + cat 1>&2 <<EOF 102 106 103 - You are deploying Hercules CI Agent on a system with an incompatible 104 - nix-daemon. Please make sure nix.package is set to a Nix version of at 105 - least 2.3.10 or a master version more recent than Mar 12, 2020. 106 - EOF 107 - exit 1 108 - fi 109 - ''; 110 - installPhase = "touch $out"; 111 - }; 107 + You are deploying Hercules CI Agent on a system with an incompatible 108 + nix-daemon. Please make sure nix.package is set to a Nix version of at 109 + least 2.3.10 or a master version more recent than Mar 12, 2020. 110 + EOF 111 + exit 1 112 + fi 113 + ''; 114 + installPhase = "touch $out"; 115 + }; 112 116 113 117 in 114 118 { 115 119 imports = [ 116 - (mkRenamedOptionModule ["services" "hercules-ci-agent" "extraOptions"] ["services" "hercules-ci-agent" "settings"]) 117 - (mkRenamedOptionModule ["services" "hercules-ci-agent" "baseDirectory"] ["services" "hercules-ci-agent" "settings" "baseDirectory"]) 118 - (mkRenamedOptionModule ["services" "hercules-ci-agent" "concurrentTasks"] ["services" "hercules-ci-agent" "settings" "concurrentTasks"]) 119 - (mkRemovedOptionModule ["services" "hercules-ci-agent" "patchNix"] "Nix versions packaged in this version of Nixpkgs don't need a patched nix-daemon to work correctly in Hercules CI Agent clusters.") 120 + (mkRenamedOptionModule [ "services" "hercules-ci-agent" "extraOptions" ] [ "services" "hercules-ci-agent" "settings" ]) 121 + (mkRenamedOptionModule [ "services" "hercules-ci-agent" "baseDirectory" ] [ "services" "hercules-ci-agent" "settings" "baseDirectory" ]) 122 + (mkRenamedOptionModule [ "services" "hercules-ci-agent" "concurrentTasks" ] [ "services" "hercules-ci-agent" "settings" "concurrentTasks" ]) 123 + (mkRemovedOptionModule [ "services" "hercules-ci-agent" "patchNix" ] "Nix versions packaged in this version of Nixpkgs don't need a patched nix-daemon to work correctly in Hercules CI Agent clusters.") 120 124 ]; 121 125 122 126 options.services.hercules-ci-agent = {
+4 -4
nixos/modules/services/continuous-integration/hercules-ci-agent/default.nix
··· 7 7 */ 8 8 9 9 { pkgs, config, lib, ... }: 10 - 11 10 let 12 - 13 11 inherit (lib) mkIf mkDefault; 14 12 15 13 cfg = config.services.hercules-ci-agent; ··· 21 19 { 22 20 imports = [ 23 21 ./common.nix 24 - (lib.mkRenamedOptionModule ["services" "hercules-ci-agent" "user"] ["systemd" "services" "hercules-ci-agent" "serviceConfig" "User"]) 22 + (lib.mkRenamedOptionModule [ "services" "hercules-ci-agent" "user" ] [ "systemd" "services" "hercules-ci-agent" "serviceConfig" "User" ]) 25 23 ]; 26 24 27 25 config = mkIf cfg.enable { ··· 80 78 isSystemUser = true; 81 79 }; 82 80 83 - users.groups.hercules-ci-agent = {}; 81 + users.groups.hercules-ci-agent = { }; 84 82 }; 83 + 84 + meta.maintainers = [ lib.maintainers.roberth ]; 85 85 }
+2 -22
pkgs/applications/editors/retext/default.nix
··· 6 6 7 7 let 8 8 version = "7.0.4"; 9 - python = let 10 - packageOverrides = self: super: { 11 - markdown = super.markdown.overridePythonAttrs(old: { 12 - src = super.fetchPypi { 13 - version = "3.0.1"; 14 - pname = "Markdown"; 15 - sha256 = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c"; 16 - }; 17 - }); 18 - 19 - chardet = super.chardet.overridePythonAttrs(old: { 20 - src = super.fetchPypi { 21 - version = "2.3.0"; 22 - pname = "chardet"; 23 - sha256 = "e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa"; 24 - }; 25 - patches = []; 26 - }); 27 - }; 28 - in python3.override { inherit packageOverrides; }; 29 - pythonEnv = python.withPackages (ps: with ps; [ 9 + pythonEnv = python3.withPackages (ps: with ps; [ 30 10 pyqt5 docutils pyenchant Markups markdown pygments chardet 31 11 ]); 32 - in python.pkgs.buildPythonApplication { 12 + in python3.pkgs.buildPythonApplication { 33 13 inherit version; 34 14 pname = "retext"; 35 15
+2 -2
pkgs/applications/misc/gpxsee/default.nix
··· 2 2 3 3 mkDerivation rec { 4 4 pname = "gpxsee"; 5 - version = "8.3"; 5 + version = "8.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tumic0"; 9 9 repo = "GPXSee"; 10 10 rev = version; 11 - sha256 = "sha256-D58Q9qZ7x2j//pOQa+oIgVK/9F0du2FUoZprSFEKViU="; 11 + sha256 = "sha256-ygBM8HtCF8d4KVOakP4ssFyTgAsPQDfjAMJaEqo+Ml4="; 12 12 }; 13 13 14 14 patches = (substituteAll {
+11 -8
pkgs/applications/misc/xpdf/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "xpdf"; 15 - version = "4.02"; 15 + version = "4.03"; 16 16 17 17 src = fetchzip { 18 - url = "https://xpdfreader-dl.s3.amazonaws.com/${pname}-${version}.tar.gz"; 19 - sha256 = "0dzwq6fnk013wa4l5mjpvm4mms2mh5hbrxv4rhk2ab5ljbzz7b2w"; 18 + url = "https://dl.xpdfreader.com/xpdf-${version}.tar.gz"; 19 + sha256 = "09yhvmh1vxjy763nnmawynygp5bh3j4i8ixqja64j11676yl77n6"; 20 20 }; 21 21 22 22 # Fix "No known features for CXX compiler", see ··· 36 36 lib.optional enablePrinting cups ++ 37 37 lib.optional enablePDFtoPPM freetype; 38 38 39 - hardeningDisable = [ "format" ]; 40 - 41 39 desktopItem = makeDesktopItem { 42 40 name = "xpdf"; 43 41 desktopName = "Xpdf"; ··· 48 46 terminal = "false"; 49 47 }; 50 48 51 - postInstall = '' 52 - install -Dm644 ${desktopItem}/share/applications/xpdf.desktop $out/share/applications/xpdf.desktop 49 + postInstall = lib.optionalString (!stdenv.isDarwin) '' 50 + install -Dm644 ${desktopItem}/share/applications/xpdf.desktop -t $out/share/applications 53 51 install -Dm644 $src/xpdf-qt/xpdf-icon.svg $out/share/pixmaps/xpdf.svg 52 + ''; 53 + 54 + # wrapQtAppsHook broken on macOS (https://github.com/NixOS/nixpkgs/issues/102044) 55 + postFixup = lib.optionalString stdenv.isDarwin '' 56 + wrapQtApp $out/bin/xpdf 54 57 ''; 55 58 56 59 meta = with lib; { ··· 69 72 pdffonts: lists fonts used in PDF files 70 73 pdfdetach: extracts attached files from PDF files 71 74 ''; 72 - license = with licenses; [ gpl2 gpl3 ]; 75 + license = with licenses; [ gpl2Only gpl3Only ]; 73 76 platforms = platforms.unix; 74 77 maintainers = with maintainers; [ sikmir ]; 75 78 knownVulnerabilities = [
+11 -7
pkgs/applications/misc/xpdf/libxpdf.nix
··· 2 2 }: 3 3 4 4 stdenv.mkDerivation { 5 - name = "libxpdf-3.02pl4"; 5 + name = "libxpdf-3.02pl5"; 6 6 7 7 src = fetchurl { 8 - url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz"; 8 + url = "https://dl.xpdfreader.com/old/xpdf-3.02.tar.gz"; 9 9 sha256 = "000zq4ddbwyxiki4vdwpmxbnw5n9hsg9hvwra2p33hslyib7sfmk"; 10 10 }; 11 11 12 12 patches = [ 13 13 (fetchurl { 14 - url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl1.patch"; 14 + url = "https://dl.xpdfreader.com/old/xpdf-3.02pl1.patch"; 15 15 sha256 = "1wxv9l0d2kkwi961ihpdwi75whdvk7cgqxkbfym8cjj11fq17xjq"; 16 16 }) 17 17 (fetchurl { 18 - url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2.patch"; 18 + url = "https://dl.xpdfreader.com/old/xpdf-3.02pl2.patch"; 19 19 sha256 = "1nfrgsh9xj0vryd8h65myzd94bjz117y89gq0hzji9dqn23xihfi"; 20 20 }) 21 21 (fetchurl { 22 - url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl3.patch"; 22 + url = "https://dl.xpdfreader.com/old/xpdf-3.02pl3.patch"; 23 23 sha256 = "0jskkv8x6dqr9zj4azaglas8cziwqqrkbbnzrpm2kzrvsbxyhk2r"; 24 24 }) 25 25 (fetchurl { 26 - url = "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl4.patch"; 26 + url = "https://dl.xpdfreader.com/old/xpdf-3.02pl4.patch"; 27 27 sha256 = "1c48h7aizx0ngmzlzw0mpja1w8vqyy3pg62hyxp7c60k86al715h"; 28 + }) 29 + (fetchurl { 30 + url = "https://dl.xpdfreader.com/old/xpdf-3.02pl5.patch"; 31 + sha256 = "1fki66pw56yr6aw38f6amrx7wxwcxbx4704pjqq7pqqr784b7z4j"; 28 32 }) 29 33 ./xpdf-3.02-protection.patch 30 34 ./libxpdf.patch ··· 48 52 49 53 meta = with lib; { 50 54 platforms = platforms.unix; 51 - license = licenses.gpl2; 55 + license = licenses.gpl2Only; 52 56 }; 53 57 }
+2 -2
pkgs/applications/networking/mumble/default.nix
··· 133 133 } source; 134 134 135 135 source = rec { 136 - version = "1.3.3"; 136 + version = "1.3.4"; 137 137 138 138 # Needs submodules 139 139 src = fetchFromGitHub { 140 140 owner = "mumble-voip"; 141 141 repo = "mumble"; 142 142 rev = version; 143 - sha256 = "1jaq5bl5gdpzd4pskpcd2j93g2w320znn4s8ck8f4jz5f46da1bj"; 143 + sha256 = "sha256-njovShQpW0JNeeE8VugdmGzDk3fKG8/fcJoBgdyTZug="; 144 144 fetchSubmodules = true; 145 145 }; 146 146 };
+29 -23
pkgs/applications/science/logic/z3/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python, fixDarwinDylibNames 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , python 5 + , fixDarwinDylibNames 2 6 , javaBindings ? false 3 7 , ocamlBindings ? false 4 8 , pythonBindings ? true 5 9 , jdk ? null 6 - , ocaml ? null, findlib ? null, zarith ? null 10 + , ocaml ? null 11 + , findlib ? null 12 + , zarith ? null 7 13 }: 8 14 9 15 assert javaBindings -> jdk != null; ··· 13 19 14 20 stdenv.mkDerivation rec { 15 21 pname = "z3"; 16 - version = "4.8.9"; 22 + version = "4.8.10"; 17 23 18 24 src = fetchFromGitHub { 19 - owner = "Z3Prover"; 20 - repo = pname; 21 - rev = "z3-${version}"; 22 - sha256 = "1hnbzq10d23drd7ksm3c1n2611c3kd0q0yxgz8y78zaafwczvwxx"; 25 + owner = "Z3Prover"; 26 + repo = pname; 27 + rev = "z3-${version}"; 28 + sha256 = "1w1ym2l0gipvjx322npw7lhclv8rslq58gnj0d9i96masi3gbycf"; 23 29 }; 24 30 25 31 nativeBuildInputs = optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 26 32 buildInputs = [ python ] 27 - ++ optional javaBindings jdk 28 - ++ optionals ocamlBindings [ ocaml findlib zarith ] 33 + ++ optional javaBindings jdk 34 + ++ optionals ocamlBindings [ ocaml findlib zarith ] 29 35 ; 30 36 propagatedBuildInputs = [ python.pkgs.setuptools ]; 31 37 enableParallelBuilding = true; ··· 35 41 mkdir -p $OCAMLFIND_DESTDIR/stublibs 36 42 ''; 37 43 38 - configurePhase = concatStringsSep " " ( 39 - [ "${python.interpreter} scripts/mk_make.py --prefix=$out" ] 40 - ++ optional javaBindings "--java" 41 - ++ optional ocamlBindings "--ml" 42 - ++ optional pythonBindings "--python --pypkgdir=$out/${python.sitePackages}" 43 - ) + "\n" + "cd build"; 44 + configurePhase = concatStringsSep " " 45 + ( 46 + [ "${python.interpreter} scripts/mk_make.py --prefix=$out" ] 47 + ++ optional javaBindings "--java" 48 + ++ optional ocamlBindings "--ml" 49 + ++ optional pythonBindings "--python --pypkgdir=$out/${python.sitePackages}" 50 + ) + "\n" + "cd build"; 44 51 45 52 postInstall = '' 46 53 mkdir -p $dev $lib 47 - mv $out/lib $lib/lib 54 + mv $out/lib $lib/lib 48 55 mv $out/include $dev/include 49 56 '' + optionalString pythonBindings '' 50 57 mkdir -p $python/lib ··· 53 60 ''; 54 61 55 62 outputs = [ "out" "lib" "dev" "python" ] 56 - ++ optional ocamlBindings "ocaml" 57 - ; 63 + ++ optional ocamlBindings "ocaml"; 58 64 59 - meta = { 65 + meta = with lib; { 60 66 description = "A high-performance theorem prover and SMT solver"; 61 - homepage = "https://github.com/Z3Prover/z3"; 62 - license = lib.licenses.mit; 63 - platforms = lib.platforms.unix; 64 - maintainers = with lib.maintainers; [ thoughtpolice ttuegel ]; 67 + homepage = "https://github.com/Z3Prover/z3"; 68 + license = licenses.mit; 69 + platforms = platforms.unix; 70 + maintainers = with maintainers; [ thoughtpolice ttuegel ]; 65 71 }; 66 72 }
+6 -4
pkgs/development/compilers/lobster/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "lobster"; 22 - version = "unstable-2020-10-04"; 22 + version = "unstable-2020-12-25"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "aardappel"; 26 26 repo = pname; 27 - rev = "4c5e78f021ce9d06592fb3a66388e5e31fac1adb"; 28 - sha256 = "1wnbc8kr1dyfs53nlcxah22ghphmazzrlcj9z47cgkdsj1qfy84x"; 27 + rev = "70e44d475995b03363dedf9c2bcb817b0db8fdcf"; 28 + sha256 = "0azhminzrkbpvkapass1kccd6123bg7qmcbnzr5774n6bz5365g3"; 29 29 }; 30 30 31 31 nativeBuildInputs = [ cmake ]; ··· 48 48 49 49 passthru = { 50 50 tests.can-run-hello-world = callPackage ./test-can-run-hello-world.nix {}; 51 - updateScript = unstableGitUpdater { }; 51 + updateScript = unstableGitUpdater { 52 + url = "https://github.com/aardappel/lobster"; 53 + }; 52 54 }; 53 55 54 56 meta = with lib; {
+3 -3
pkgs/development/compilers/qbe/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "qbe"; 8 - version = "unstable-2019-07-11"; 8 + version = "unstable-2020-10-05"; 9 9 10 10 src = fetchgit { 11 11 url = "git://c9x.me/qbe.git"; 12 - rev = "7bf08ff50729037c8820b26d085905175b5593c8"; 13 - sha256 = "0w1yack5ky6x6lbw8vn6swsy8s90n6ny0jpkw0866ja677z7qz34"; 12 + rev = "496c069405cd79aed968f59dd5a5f92d1f96809f"; 13 + sha256 = "1vpszl77j9mnw8r0p9l23k8nxbnz31lgii7v3mai130nbpjsjsdf"; 14 14 }; 15 15 16 16 makeFlags = [ "PREFIX=$(out)" ];
+12
pkgs/development/python-modules/imbalanced-learn/default.nix
··· 1 1 { lib, buildPythonPackage, fetchPypi, isPy27 2 + , fetchpatch 2 3 , pandas 3 4 , pytestCheckHook 4 5 , scikitlearn ··· 15 16 sha256 = "da59de0d1c0fa66f62054dd9a0a295a182563aa1abbb3bf9224a3678fcfe8fa4"; 16 17 }; 17 18 19 + patches = [ 20 + # Fix compatibility with scikit-learn 0.24. This patch will be included in releases of 21 + # imbalanced-learn after 0.7.0 22 + (fetchpatch { 23 + url = "https://github.com/scikit-learn-contrib/imbalanced-learn/commit/dc4051fe0011c68d900be05971b71016d4ad9e90.patch"; 24 + sha256 = "1rv61k9wv4q37a0v943clr8fflcg9ly530smgndgkjlxkyzw6swh"; 25 + excludes = ["doc/conf.py" "build_tools/*" "azure-pipelines.yml"]; 26 + }) 27 + ]; 28 + 18 29 propagatedBuildInputs = [ scikitlearn ]; 19 30 checkInputs = [ pytestCheckHook pandas ]; 20 31 preCheck = '' ··· 32 43 description = "Library offering a number of re-sampling techniques commonly used in datasets showing strong between-class imbalance"; 33 44 homepage = "https://github.com/scikit-learn-contrib/imbalanced-learn"; 34 45 license = licenses.mit; 46 + maintainers = [ maintainers.rmcgibbo ]; 35 47 }; 36 48 }
+2 -2
pkgs/development/python-modules/powerline/default.nix
··· 8 8 , pygit2 9 9 , pyuv 10 10 , i3ipc 11 + , stdenv 11 12 }: 12 13 13 14 # TODO: bzr support is missing because nixpkgs switched to `breezy` ··· 29 30 hglib 30 31 pygit2 31 32 pyuv 32 - i3ipc 33 - ]; 33 + ] ++ lib.optionals (!stdenv.isDarwin) [ i3ipc ]; 34 34 35 35 # tests are travis-specific 36 36 doCheck = false;
+10 -13
pkgs/development/python-modules/staticjinja/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , buildPythonPackage 4 + , poetry 4 5 , isPy27 5 6 , docopt 6 7 , easywatch 7 8 , jinja2 8 9 , pytestCheckHook 9 10 , pytest-check 10 - , fetchPypi 11 11 , markdown 12 - , sphinx 13 - , sphinx_rtd_theme 14 12 }: 15 13 16 14 buildPythonPackage rec { 17 15 pname = "staticjinja"; 18 - version = "1.0.3"; 16 + version = "1.0.4"; 17 + format = "pyproject"; 19 18 20 19 disabled = isPy27; # 0.4.0 drops python2 support 21 20 22 - # For some reason, in pypi the tests get disabled when using 23 - # PY_IGNORE_IMPORTMISMATCH, so we just fetch from GitHub 21 + # No tests in pypi 24 22 src = fetchFromGitHub { 25 23 owner = "staticjinja"; 26 24 repo = pname; 27 25 rev = version; 28 - sha256 = "12rpv5gv64i5j4w98wm1444xnnmarcn3pg783j3fkkzc58lk5wwj"; 26 + sha256 = "1saz6f71s693gz9c2k3bq2di2mrkj65mgmfdg86jk0z0zzjk90y1"; 29 27 }; 30 28 29 + nativeBuildInputs = [ 30 + poetry 31 + ]; 32 + 31 33 propagatedBuildInputs = [ 32 34 jinja2 33 35 docopt ··· 38 40 pytestCheckHook 39 41 pytest-check 40 42 markdown 41 - sphinx_rtd_theme 42 - sphinx 43 43 ]; 44 44 45 + # The tests need to find and call the installed staticjinja executable 45 46 preCheck = '' 46 - # Import paths differ by a "build/lib" subdirectory, but the files are 47 - # the same, so we ignore import mismatches. 48 - export PY_IGNORE_IMPORTMISMATCH=1 49 - # The tests need to find and call the installed staticjinja executable 50 47 export PATH="$PATH:$out/bin"; 51 48 ''; 52 49
+3 -3
pkgs/development/python-modules/transformers/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "transformers"; 19 - version = "4.2.2"; 19 + version = "4.3.2"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "huggingface"; 23 23 repo = pname; 24 24 rev = "v${version}"; 25 - hash = "sha256-sBMCzEgYX6HQbzoEIYnmMdpYecCCsQjTdl2mO1Veu9M="; 25 + hash = "sha256-vv4wKf1PcuVR63ZQJd3oixdNvS7VcTmAaKkmL8I4COg="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [ ··· 41 41 doCheck = false; 42 42 43 43 postPatch = '' 44 - sed -ri 's/tokenizers==[^"]+/tokenizers/g' setup.py src/transformers/dependency_versions_table.py 44 + sed -ri 's/tokenizers[=>]=[^"]+/tokenizers/g' setup.py src/transformers/dependency_versions_table.py 45 45 ''; 46 46 47 47 pythonImportsCheck = [ "transformers" ];
+21 -21
pkgs/development/tools/electron/default.nix
··· 76 76 headers = "18frb1z5qkyff5z1w44mf4iz9aw9j4lq0h9yxgfnp33zf7sl9qb5"; 77 77 }; 78 78 79 - electron_9 = mkElectron "9.4.1" { 80 - x86_64-linux = "36c6c33e2702f591c34a7e6ebd7d0828d554a4ce2eafb319a0cd16ffd4cc4b28"; 81 - x86_64-darwin = "3e2f87d899be684eab226c572c566e89c05114059c9add1a33d2be63100b18fd"; 82 - i686-linux = "be5f8d18f11ad7c0655faec4040a8af6239f29f1155210024a01826a30b0dbbe"; 83 - armv7l-linux = "b710a0e3b80ef265760d49c9210f78a6410007521b0ed73c8b868b05d22a0a60"; 84 - aarch64-linux = "e2fc73309780fc0e9b5abebcb8256b2bc389672f0bcc261269da5891a3df66dc"; 85 - headers = "0sabqcjd6gcc6khyhiz3rk30p1y4bxsajy4rs9866bqyafq86j6q"; 79 + electron_9 = mkElectron "9.4.3" { 80 + x86_64-linux = "7744ec8af6512e569d600d7fd8e9105d3ca5ac7b6f54390dd553edbd7816289f"; 81 + x86_64-darwin = "68c67a32f149618d629eb4a8a8044b98dc6ceedc16d46ff20782fcccad72fc44"; 82 + i686-linux = "904955ee8365b95439fb4643844ac868b59525ed230a76c8e0395c0aa5719813"; 83 + armv7l-linux = "5cfb3ae97a75d33d4b102d75944610dd56a566ee98186a030eb5bdbbd3d76323"; 84 + aarch64-linux = "8afa647e4b5b1e290d5d852c7420e82916ba740e3e5576599076dc139cd1d556"; 85 + headers = "0712160j1yvl9fmj2vm9lznkwnmji1hjzyicb4vis52lbrwx820l"; 86 86 }; 87 87 88 - electron_10 = mkElectron "10.3.0" { 89 - x86_64-linux = "1a4afb659400c7acca0734df1b981b867e5dfdd15d4d3b73fd276d87b682f089"; 90 - x86_64-darwin = "9c5cca484b28dc5cca89a7f1c77e65b3a04251f4eee740265c358efae351cb94"; 91 - i686-linux = "fcb298bca0ab229e92b92c418d3e352885ff4291f735a35c7822b3ca17ae8a86"; 92 - armv7l-linux = "48accf0fbef1f2d1a81e12c2e66b9280f871029b16947d0bebe036cf1fb71b1c"; 93 - aarch64-linux = "2c99b4ec87ba657c33efb3a7e907e3f3e315e87347954231cb8bae393c1c96fd"; 94 - headers = "1k97pfzxqrgw4y76js2chq13avgp9czin9q9mlh1zdf13bih96hj"; 88 + electron_10 = mkElectron "10.3.2" { 89 + x86_64-linux = "e28748c813ddc69c611a47961d68ae2dc3761f547c509d9ce2c56c2c6eadc9a2"; 90 + x86_64-darwin = "3120ae3eab94d9102003f6fa2dc833a0629295c7ec0e154b35f61116d55a4954"; 91 + i686-linux = "13f42ad6ea0fa41553b8f50323d0baaa29272220a2e81ca5293ad4439cda1d79"; 92 + armv7l-linux = "0e571f63697b8985782175af07bdd7069886195d9ccd7fc5c04578b4144ea922"; 93 + aarch64-linux = "173551fa6cd3ca1fb52fab3bd3e7f0ffd3e4758e78a5174e6d636a45a282ab8f"; 94 + headers = "00x71b18prc55pv3sykbzpmkxf8yjzf2cdnlqif993jab8fbwmqn"; 95 95 }; 96 96 97 - electron_11 = mkElectron "11.2.1" { 98 - x86_64-linux = "607d9d58c9a3b5c36461acc6bbe473bc604eee42a55c2c617ac46d095cf98abb"; 99 - x86_64-darwin = "39d95668a3ea04bdc652ff9e2889c7a88f638534420e8e256679cbf4b7658a65"; 100 - i686-linux = "59f226133d01fb6acf86fe98907964f79dcf2902054e5c4c9c4ff84a3ea88f4a"; 101 - armv7l-linux = "85051d8eacf04aeec3dd74e46e7888d01bd4e6caf7ec2001122a1f3e11db44ee"; 102 - aarch64-linux = "8aa9be5d6c139386390bad64f78b95756206a40fe4982fc9f199b67a7d06bec5"; 103 - headers = "12sy8zzb0z654b85c5l1j8762nhwmkim1pbz1y3qzgbzvpbd5arq"; 97 + electron_11 = mkElectron "11.2.3" { 98 + x86_64-linux = "9249901fd7b85a7f952abe0df2ce83a566df612ef3ee15cce488cb1d751bc94d"; 99 + x86_64-darwin = "e0b2784b25fd4a5ee4041d508d59bbb8386039c7ea7e9cea3e547c672f052b60"; 100 + i686-linux = "78b2dd2d7b5e891e695cd31c28ac5fa1e99967ff538b944aa9d1ec224e82a964"; 101 + armv7l-linux = "06178cd44792c7dceb72286460948cb7f575acba4e46cf72c154f243e93eaf65"; 102 + aarch64-linux = "e23f2572a6a66779aff5d7cf25149fd343b0eef420fbfa3e8c3742284ce6e613"; 103 + headers = "1yjc7zl7l5n3l2s2x3lbic2lc527alcd4mnwih7pjl5dhvdgmbm9"; 104 104 }; 105 105 }
+5 -5
pkgs/development/tools/kustomize/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kustomize"; 5 - version = "3.9.3"; 5 + version = "3.10.0"; 6 6 # rev is the 3.9.3 commit, mainly for kustomize version command output 7 - rev = "1ae8303bdc9372bc7c15942df6e9cf5d67fdba1a"; 7 + rev = "602ad8aa98e2e17f6c9119e027a09757e63c8bec"; 8 8 9 9 buildFlagsArray = let t = "sigs.k8s.io/kustomize/api/provenance"; in 10 10 '' ··· 17 17 owner = "kubernetes-sigs"; 18 18 repo = pname; 19 19 rev = "kustomize/v${version}"; 20 - sha256 = "147g8mhgcb8sjx10sz7r9yh84gqxwk6dald848jim2v2rax47v0p"; 20 + sha256 = "1qr0mi83df8d9qd2svyr1h26pg97qi67nnygrkydnp8an28k48hi"; 21 21 }; 22 22 23 23 # avoid finding test and development commands 24 24 sourceRoot = "source/kustomize"; 25 25 26 - vendorSha256 = "0ps4is8x2akvvvvin9sqdyjg4ms3b5b5y15923rs65fd7x33rxgp"; 26 + vendorSha256 = "0p2j8mm7jpladpm6v3451g38n5bax0g368dk5h5r5gmkr6srxdy4"; 27 27 28 28 meta = with lib; { 29 29 description = "Customization of kubernetes YAML configurations"; ··· 34 34 ''; 35 35 homepage = "https://github.com/kubernetes-sigs/kustomize"; 36 36 license = licenses.asl20; 37 - maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime Chili-Man ]; 37 + maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime Chili-Man saschagrunert ]; 38 38 }; 39 39 }
+4 -8
pkgs/games/widelands/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "widelands"; 8 - version = "20"; 8 + version = "21"; 9 9 10 10 meta = with lib; { 11 11 description = "RTS with multiple-goods economy"; ··· 26 26 ]; 27 27 28 28 src = fetchurl { 29 - url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}.tar.bz2"; 30 - sha256 = "1cmwfwk7j6yi2pwmm4rm57s23sdzasqf53nx6567sdagqyc4sn9q"; 29 + url = "https://launchpad.net/widelands/build${version}/build${version}/+download/widelands-build${version}-source.tar.gz"; 30 + sha256 = "sha256-YB4OTG+Rs/sOzizRuD7PsCNEobkZT7tw7z9w4GmU41c="; 31 31 }; 32 32 33 33 preConfigure = '' ··· 45 45 SDL2 SDL2_image SDL2_mixer SDL2_net SDL2_ttf 46 46 ]; 47 47 48 - prePatch = '' 49 - substituteInPlace ./debian/org.widelands.widelands.desktop --replace "/usr/share/games/widelands/data/" "$out/share/widelands/" 50 - ''; 51 - 52 48 postInstall = '' 53 49 mkdir -p "$out/share/applications/" 54 - cp -v "../debian/org.widelands.widelands.desktop" "$out/share/applications/" 50 + cp -v "../xdg/org.widelands.Widelands.desktop" "$out/share/applications/" 55 51 ''; 56 52 }
+3 -2
pkgs/servers/sql/mysql/5.7.x.nix
··· 23 23 24 24 nativeBuildInputs = [ cmake bison pkg-config rpcsvc-proto ]; 25 25 26 - buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib libtirpc ] 27 - ++ lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ]; 26 + buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ] 27 + ++ lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ] 28 + ++ lib.optionals stdenv.isLinux [ libtirpc ]; 28 29 29 30 outputs = [ "out" "static" ]; 30 31
+3 -3
pkgs/tools/misc/ttwatch/default.nix
··· 5 5 6 6 stdenv.mkDerivation { 7 7 pname = "ttwatch"; 8 - version = "2020-02-05"; 8 + version = "2020-06-24"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "ryanbinns"; 12 12 repo = "ttwatch"; 13 - rev = "bfdf1372515574e1fb3871dc1039f8d8a5dbdada"; 14 - sha256 = "07nd4dbkchxy8js1h1f6pzn63pls2afww97wyiiw6zid43mpqyg4"; 13 + rev = "260aff5869fd577d788d86b546399353d9ff72c1"; 14 + sha256 = "0yd2hs9d03gfvwm1vywpg2qga6x5c74zrj665wf9aa8gmn96hv8r"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ cmake perl pkg-config ];
+42
pkgs/tools/package-management/smlpkg/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, mlton, unzip }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "smlpkg"; 5 + version = "0.1.5"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "diku-dk"; 9 + repo = "smlpkg"; 10 + rev = "v${version}"; 11 + sha256 = "1xmbdnfc34ia0a78dhkfv5jyadxndinhw8c47l1mjd4l7n8vqnph"; 12 + }; 13 + 14 + enableParallelBuilding = true; 15 + 16 + nativeBuildInputs = [ mlton ]; 17 + 18 + # Set as an environment variable in all the phase scripts. 19 + MLCOMP = "mlton"; 20 + 21 + buildFlags = ["all"]; 22 + installFlags = ["prefix=$(out)"]; 23 + 24 + doCheck = true; 25 + 26 + checkInputs = [ unzip ]; 27 + 28 + # We cannot run the pkgtests, as Nix does not allow network 29 + # connections. 30 + checkPhase = '' 31 + runHook preCheck 32 + make -C src test 33 + runHook postCheck 34 + ''; 35 + 36 + meta = with lib; { 37 + description = "Generic package manager for Standard ML libraries and programs"; 38 + homepage = "https://github.com/diku-dk/smlpkg"; 39 + license = licenses.mit; 40 + maintainers = with maintainers; [ athas ]; 41 + }; 42 + }
+4 -6
pkgs/top-level/all-packages.nix
··· 4993 4993 hdf4 = null; 4994 4994 }; 4995 4995 4996 - haproxy = callPackage ../tools/networking/haproxy { 4997 - stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv; 4998 - }; 4996 + haproxy = callPackage ../tools/networking/haproxy { }; 4999 4997 5000 4998 hackertyper = callPackage ../tools/misc/hackertyper { }; 5001 4999 ··· 10883 10881 10884 10882 smlnjBootstrap = callPackage ../development/compilers/smlnj/bootstrap.nix { }; 10885 10883 smlnj = callPackage ../development/compilers/smlnj { }; 10884 + 10885 + smlpkg = callPackage ../tools/package-management/smlpkg { }; 10886 10886 10887 10887 solc = callPackage ../development/compilers/solc { }; 10888 10888 ··· 27265 27265 27266 27266 wesnoth-dev = wesnoth; 27267 27267 27268 - widelands = callPackage ../games/widelands { 27269 - lua = lua5_2; 27270 - }; 27268 + widelands = callPackage ../games/widelands { }; 27271 27269 27272 27270 worldofgoo = callPackage ../games/worldofgoo { }; 27273 27271
+2 -2
pkgs/top-level/perl-packages.nix
··· 8480 8480 8481 8481 FutureAsyncAwait = buildPerlModule rec { 8482 8482 pname = "Future-AsyncAwait"; 8483 - version = "0.47"; 8483 + version = "0.48"; 8484 8484 src = fetchurl { 8485 8485 url = "mirror://cpan/authors/id/P/PE/PEVANS/Future-AsyncAwait-${version}.tar.gz"; 8486 - sha256 = "1ja85hzzl36sjikcyavjqy4m41f2yyrsr1ipypzi5mlw7clhmdi3"; 8486 + sha256 = "077jnf5a07x0p30iqcw3kh53xh3dplhb0jyyyq9b4c79ira3ds6r"; 8487 8487 }; 8488 8488 buildInputs = [ TestRefcount ]; 8489 8489 propagatedBuildInputs = [ Future XSParseSublike ];
+3 -1
pkgs/top-level/php-packages.nix
··· 510 510 ++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 511 511 { name = "xmlrpc"; 512 512 buildInputs = [ libxml2 libiconv ]; 513 + # xmlrpc was unbundled in 8.0 https://php.watch/versions/8.0/xmlrpc 514 + enable = lib.versionOlder php.version "8.0"; 513 515 configureFlags = [ "--with-xmlrpc" ] 514 516 # Required to build on darwin. 515 517 ++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } ··· 520 522 ++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 521 523 { name = "xsl"; 522 524 buildInputs = [ libxslt libxml2 ]; 523 - doCheck = !(lib.versionOlder php.version "7.4"); 525 + doCheck = lib.versionOlder php.version "8.0"; 524 526 configureFlags = [ "--with-xsl=${libxslt.dev}" ]; } 525 527 { name = "zend_test"; } 526 528 { name = "zip";