Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-03-05 12:20:53 +00:00 committed by GitHub
commit 15819eb5fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 66 additions and 52 deletions

View File

@ -10838,4 +10838,10 @@
github = "benneti"; github = "benneti";
githubId = 11725645; githubId = 11725645;
}; };
p3psi = {
name = "Elliot Boo";
email = "p3psi.boo@gmail.com";
github = "p3psi-boo";
githubId = 43925055;
};
} }

View File

@ -250,13 +250,10 @@ let
symbol_level = 0; symbol_level = 0;
fieldtrial_testing_like_official_build = true; fieldtrial_testing_like_official_build = true;
# Google API keys, see: # Google API key, see: https://www.chromium.org/developers/how-tos/api-keys
# http://www.chromium.org/developers/how-tos/api-keys # Note: The API key is for NixOS/nixpkgs use ONLY.
# Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, # For your own distribution, please get your own set of keys.
# please get your own set of keys.
google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI"; google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI";
google_default_client_id = "404761575300.apps.googleusercontent.com";
google_default_client_secret = "9rIFQjfnkykEmqb6FfjJQD1D";
} // optionalAttrs proprietaryCodecs { } // optionalAttrs proprietaryCodecs {
# enable support for the H.264 codec # enable support for the H.264 codec
proprietary_codecs = true; proprietary_codecs = true;

View File

@ -1,16 +1,16 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }: { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "gitui"; pname = "gitui";
version = "0.11.0"; version = "0.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "extrawurst"; owner = "extrawurst";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0yq98jslbac87zdzlwqc2kcd6hqy2wnza3l8n3asss1iaqcb0ilh"; sha256 = "1fcv9bxfv7f7ysmnqan9vdp2z3kvdb4h4zwbr0l3cs8kbapk713n";
}; };
cargoSha256 = "16riggrhk1f6lg8y46wn89ab5b1iz6lw00ngid20x4z32d2ww70f"; cargoSha256 = "1mnh8jza8lkw5rgkx2bnnqvk9w7l9c2ab9hmfmgx049wn42ylb41";
nativeBuildInputs = [ python3 perl ]; nativeBuildInputs = [ python3 perl ];
buildInputs = [ openssl ] buildInputs = [ openssl ]

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cntr"; pname = "cntr";
version = "1.5.0"; version = "1.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Mic92"; owner = "Mic92";
repo = "cntr"; repo = "cntr";
rev = version; rev = version;
sha256 = "sha256-RwpRlcShvZVBR22xkJz50p10SEULXM9/gqVGNXiSM3M="; sha256 = "sha256-z+0bSxoLJTK4e5xS4CHZ2hNUI56Ci1gbWJsRcN6ZqZA=";
}; };
cargoSha256 = "sha256-ezxIDaU270V5oqm1m8mt9QXu/SsrKomaxM2TnH+bSUY="; cargoSha256 = "sha256-o8o/ixjYdnezQZEp78brjmR2lvQbiwCJr4Y97tHiYbk=";
meta = with lib; { meta = with lib; {
description = "A container debugging tool based on FUSE"; description = "A container debugging tool based on FUSE";

View File

@ -18,7 +18,7 @@ let
# this derivation. However, we should ensure on version bumps # this derivation. However, we should ensure on version bumps
# that the CUDA toolkit for `passthru.tests` is still # that the CUDA toolkit for `passthru.tests` is still
# up-to-date. # up-to-date.
version = "1.7.1"; version = "1.8.0";
device = if cudaSupport then "cuda" else "cpu"; device = if cudaSupport then "cuda" else "cpu";
srcs = import ./binary-hashes.nix version; srcs = import ./binary-hashes.nix version;
unavailable = throw "libtorch is not available for this platform"; unavailable = throw "libtorch is not available for this platform";

View File

@ -1,14 +1,14 @@
version: { version: {
x86_64-darwin-cpu = { x86_64-darwin-cpu = {
url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip"; url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip";
sha256 = "0n93r7bq6wjjxkczp8r5pjm1nvl75wns5higsvh7gsir0j6k7b5b"; hash = "sha256-V1lbztMB09wyWjdiJrwVwJ00DT8Kihy/TC2cKmdBLIE=";
}; };
x86_64-linux-cpu = { x86_64-linux-cpu = {
url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip"; url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip";
sha256 = "0gpcj90nxyc69p53jiqwamd4gi7wzssk29csxfsyxsrzg3h36s7z"; hash = "sha256-xBaNyI7eiQnSArHMITonrQQLZnZCZK/SWKOTWnxzdpc=";
}; };
x86_64-linux-cuda = { x86_64-linux-cuda = {
url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-${version}.zip"; url = "https://download.pytorch.org/libtorch/cu102/libtorch-cxx11-abi-shared-with-deps-${version}.zip";
sha256 = "01z61ryrflq306x7ay97k2fqc2q2z9c4c1zcnjfzr6412vg4fjb8"; hash = "sha256-rNEyE4+jfeX7cU0aNYd5b0pZGYT0PNPnDnS1PIsrMeM=";
}; };
} }

View File

@ -74,27 +74,35 @@ let
# (allowing FBGEMM to be built in pytorch-1.1), and may future proof this # (allowing FBGEMM to be built in pytorch-1.1), and may future proof this
# derivation. # derivation.
brokenArchs = [ "3.0" ]; # this variable is only used as documentation. brokenArchs = [ "3.0" ]; # this variable is only used as documentation.
cuda9ArchList = [
"3.5" cudaCapabilities = rec {
"5.0" cuda9 = [
"5.2" "3.5"
"6.0" "5.0"
"6.1" "5.2"
"7.0" "6.0"
"7.0+PTX" # I am getting a "undefined architecture compute_75" on cuda 9 "6.1"
# which leads me to believe this is the final cuda-9-compatible architecture. "7.0"
]; "7.0+PTX" # I am getting a "undefined architecture compute_75" on cuda 9
cuda10ArchList = cuda9ArchList ++ [ # which leads me to believe this is the final cuda-9-compatible architecture.
"7.5" ];
"7.5+PTX" # < most recent architecture as of cudatoolkit_10_0 and pytorch-1.2.0
]; cuda10 = cuda9 ++ [
"7.5"
"7.5+PTX" # < most recent architecture as of cudatoolkit_10_0 and pytorch-1.2.0
];
cuda11 = cuda10 ++ [
"8.0"
"8.0+PTX" # < CUDA toolkit 11.0
"8.6"
"8.6+PTX" # < CUDA toolkit 11.1
];
};
final_cudaArchList = final_cudaArchList =
if !cudaSupport || cudaArchList != null if !cudaSupport || cudaArchList != null
then cudaArchList then cudaArchList
else else cudaCapabilities."cuda${lib.versions.major cudatoolkit.version}";
if lib.versions.major cudatoolkit.version == "9"
then cuda9ArchList
else cuda10ArchList; # the assert above removes any ambiguity here.
# Normally libcuda.so.1 is provided at runtime by nvidia-x11 via # Normally libcuda.so.1 is provided at runtime by nvidia-x11 via
# LD_LIBRARY_PATH=/run/opengl-driver/lib. We only use the stub # LD_LIBRARY_PATH=/run/opengl-driver/lib. We only use the stub

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre }: { lib, stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "8.40"; version = "8.41";
pname = "checkstyle"; pname = "checkstyle";
src = fetchurl { src = fetchurl {
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar"; url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
sha256 = "sha256-Zw8FfWHMbO+PBED4OPStzqahbJ5jS8Dpahxu6rU/wOQ="; sha256 = "sha256-+XMCstfxOabLDp66pRQtYelrLUOMCWnTc3KbiOlfVzI=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -12,7 +12,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "codeql"; pname = "codeql";
version = "2.4.3"; version = "2.4.4";
dontConfigure = true; dontConfigure = true;
dontBuild = true; dontBuild = true;
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
src = fetchzip { src = fetchzip {
url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip";
sha256 = "sha256-68Q0kG9DEBofNxhGz11ftGNW3d6UICHEwV0yhje8PWg="; sha256 = "sha256-ZwGOk4HxURlPwGcWGHg6rqPh9ONPx9iJ2EB6lWKOMiY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,7 +2,7 @@
buildGoModule rec { buildGoModule rec {
pname = "gosec"; pname = "gosec";
version = "2.6.1"; version = "2.7.0";
subPackages = [ "cmd/gosec" ]; subPackages = [ "cmd/gosec" ];
@ -10,10 +10,10 @@ buildGoModule rec {
owner = "securego"; owner = "securego";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KMXRYudnJab/X6FBG0lnG9hHVmbKwnrN1oqkSn6q3DU="; sha256 = "sha256-U7+0wXnuIDlATpVRVknwaPxib36+iYvvYUVM6d7Xf6I=";
}; };
vendorSha256 = "sha256-0yxGEUOame9yfeIErLESWY8kZtt7Q4vD3TU6Wl9Xa54="; vendorSha256 = "sha256-nr1rx6GM+ETcfLreYT081xNzUz2exloogJ+gcwF2u2o=";
doCheck = false; doCheck = false;

View File

@ -7,19 +7,21 @@ with python3.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "mycli"; pname = "mycli";
version = "1.23.2"; version = "1.24.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-auGbFAvwLR7aDChhgeNZPZPNGJo+b9Q4TFDaOrmU2zI="; sha256 = "sha256-dI2Yvj2llI9TlMFbs35ijYeFuGqoTovZyRh+ILhNMmY=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
cli-helpers cli-helpers
click click
configobj configobj
importlib-resources
paramiko paramiko
prompt_toolkit prompt_toolkit
pyaes
pycrypto pycrypto
pygments pygments
pymysql pymysql
@ -39,7 +41,8 @@ buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "sqlparse>=0.3.0,<0.4.0" "sqlparse" --replace "sqlparse>=0.3.0,<0.4.0" "sqlparse" \
--replace "importlib_resources >= 5.0.0" "importlib_resources"
''; '';
meta = with lib; { meta = with lib; {

View File

@ -1,16 +1,16 @@
{ lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }: { lib, fetchFromGitHub, installShellFiles, rustPlatform, ronn, pkg-config, libsodium }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "bupstash"; pname = "bupstash";
version = "0.6.4"; version = "0.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "andrewchambers"; owner = "andrewchambers";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "013k8pr4865f5rp66fjf3a8069kmd29brxv0l20z571gy2kxs5p9"; sha256 = "sha256-4+Ra7rNvIL4SpdCkRbPBNrZeTb1dMbuwZx+D++1qsGs=";
}; };
cargoSha256 = "17cdi93q71wsqqfkpz6mxcaqqhqclsbns0g1r9mni39nikw7amv1"; cargoSha256 = "sha256-cZSscmH3XPfH141hZhew79/UZHsqDZRN3EoNnYkW0wA=";
nativeBuildInputs = [ ronn pkg-config installShellFiles ]; nativeBuildInputs = [ ronn pkg-config installShellFiles ];
buildInputs = [ libsodium ]; buildInputs = [ libsodium ];

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "disfetch"; pname = "disfetch";
version = "1.18"; version = "1.20";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "llathasa-veleth"; owner = "llathasa-veleth";
repo = "disfetch"; repo = "disfetch";
rev = version; rev = version;
sha256 = "sha256-n1KfzxK1F1dji1/HG40vubNQ+R270+Ss0WCQivuVweE="; sha256 = "sha256-P5Sq8ld6pPACHn7iOJ9Uk+zR8ZLxHVvnRyFfkfGGv6I=";
}; };
dontBuild = true; dontBuild = true;

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "yad"; pname = "yad";
version = "7.2"; version = "7.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "v1cont"; owner = "v1cont";
repo = "yad"; repo = "yad";
rev = "v${version}"; rev = "v${version}";
sha256 = "0ih97hrcra2bg8q19b8819hip1p424z1vj61cl1ym5p477rp37yx"; sha256 = "sha256-3y3QLqUWBSJ9BLI8gd0LQ9SxNhcj5dXpz8Y2Hi2iCwU=";
}; };
configureFlags = [ configureFlags = [

View File

@ -4732,7 +4732,6 @@ in
gitui = callPackage ../applications/version-management/git-and-tools/gitui { gitui = callPackage ../applications/version-management/git-and-tools/gitui {
inherit (darwin.apple_sdk.frameworks) Security AppKit; inherit (darwin.apple_sdk.frameworks) Security AppKit;
inherit (pkgs) openssl perl;
}; };
gogs = callPackage ../applications/version-management/gogs { }; gogs = callPackage ../applications/version-management/gogs { };

View File

@ -16642,6 +16642,7 @@ let
url = "mirror://cpan/authors/id/L/LE/LEONT/PerlIO-Layers-0.012.tar.gz"; url = "mirror://cpan/authors/id/L/LE/LEONT/PerlIO-Layers-0.012.tar.gz";
sha256 = "1psaq3kwlk7g9rxvgsacfjk2mh6cscqf4xl7ggfkzfrnz91aabal"; sha256 = "1psaq3kwlk7g9rxvgsacfjk2mh6cscqf4xl7ggfkzfrnz91aabal";
}; };
perlPreHook = "export LD=$CC";
meta = { meta = {
description = "Querying your filehandle's capabilities"; description = "Querying your filehandle's capabilities";
license = with lib.licenses; [ artistic1 gpl1Plus ]; license = with lib.licenses; [ artistic1 gpl1Plus ];