Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-11-27 00:01:39 +00:00 committed by GitHub
commit e3eba8f994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 111 additions and 65 deletions

View File

@ -74,6 +74,8 @@ in
imports = [
(mkRenamedOptionModule [ "nix" "useChroot" ] [ "nix" "useSandbox" ])
(mkRenamedOptionModule [ "nix" "chrootDirs" ] [ "nix" "sandboxPaths" ])
(mkRenamedOptionModule [ "nix" "daemonIONiceLevel" ] [ "nix" "daemonIOSchedPriority" ])
(mkRemovedOptionModule [ "nix" "daemonNiceLevel" ] "Consider nix.daemonCPUSchedPolicy instead.")
];
###### interface

View File

@ -18,13 +18,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "setzer";
version = "0.4.1";
version = "0.4.2";
src = fetchFromGitHub {
owner = "cvfosammmm";
repo = "Setzer";
rev = "v${version}";
sha256 = "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av";
sha256 = "sha256-uh6mXXJP/EpfvHTXL7PH+Yd1F5Q+6B01ns4vRr/2Xqo=";
};
format = "other";
@ -53,6 +53,7 @@ python3.pkgs.buildPythonApplication rec {
pyxdg
pdfminer
pycairo
pexpect
];
checkPhase = ''

View File

@ -12,6 +12,8 @@
, mpir
, fftwFloat
, icu
, gnuradio
, thrift
}:
mkDerivation rec {
@ -31,6 +33,10 @@ mkDerivation rec {
python
];
cmakeFlags = [
"-DCMAKE_EXE_LINKER_FLAGS=-pthread"
];
buildInputs = [
cppunit
osmosdr
@ -40,6 +46,8 @@ mkDerivation rec {
mpir
fftwFloat
icu
thrift
gnuradio.python.pkgs.thrift
];
meta = with lib; {

View File

@ -38,6 +38,7 @@
, zstd
, enableShared ? !stdenv.hostPlatform.isStatic
, enableFlight ? !stdenv.isDarwin # libnsl is not supported on darwin
, enableJemalloc ? !(stdenv.isAarch64 && stdenv.isDarwin)
# boost/process is broken in 1.69 on darwin, but fixed in 1.70 and
# non-existent in older versions
# see https://github.com/boostorg/process/issues/55
@ -53,8 +54,8 @@ let
arrow-testing = fetchFromGitHub {
owner = "apache";
repo = "arrow-testing";
rev = "a60b715263d9bbf7e744527fb0c084b693f58043";
hash = "sha256-Dz1dCV0m5Y24qzXdVaqrZ7hK3MRSb4GF0PXrjMAsjZU=";
rev = "1d8525e109a12a8c67c489eba48715a199609153";
hash = "sha256-tesDW/1yRyhZtpLbPvCVEsocs6KtstYofxB5GiSMEFM=";
};
parquet-testing = fetchFromGitHub {
@ -67,16 +68,16 @@ let
in
stdenv.mkDerivation rec {
pname = "arrow-cpp";
version = "6.0.0";
version = "6.0.1";
src = fetchurl {
url =
"mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
hash = "sha256-adJo+egtPr71la0b3IPUywKyDBgZRqaGMfZkXXwfepA=";
hash = "sha256-N4az0t+VTQeLPmj5jS5a7Lqj+irM8HXXo6E8GHucUpQ=";
};
sourceRoot = "apache-arrow-${version}/cpp";
ARROW_JEMALLOC_URL = jemalloc.src;
${if enableJemalloc then "ARROW_JEMALLOC_URL" else null} = jemalloc.src;
ARROW_MIMALLOC_URL = fetchFromGitHub {
# From
@ -140,7 +141,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
patchShebangs build-support/
substituteInPlace "src/arrow/vendored/datetime/tz.cpp" \
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
--replace 'discover_tz_dir();' '"${tzdata}/share/zoneinfo";'
'';
cmakeFlags = [
@ -155,6 +156,7 @@ stdenv.mkDerivation rec {
"-DARROW_COMPUTE=ON"
"-DARROW_CSV=ON"
"-DARROW_DATASET=ON"
"-DARROW_JEMALLOC=${if enableJemalloc then "ON" else "OFF"}"
"-DARROW_JSON=ON"
"-DARROW_PLASMA=ON"
# Disable Python for static mode because openblas is currently broken there.

View File

@ -36,7 +36,7 @@ buildGoModule {
cmakeFlags = [ "-GNinja" ] ++ lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ];
installPhase = ''
mkdir -p $bin/bin $out/include $out/lib
mkdir -p $bin/bin $dev $out/lib
mv tool/bssl $bin/bin
@ -44,10 +44,10 @@ buildGoModule {
mv crypto/libcrypto.a $out/lib
mv decrepit/libdecrepit.a $out/lib
mv ../include/openssl $out/include
mv ../include $dev
'';
outputs = [ "out" "bin" ];
outputs = [ "out" "bin" "dev" ];
meta = with lib; {
description = "Free TLS/SSL implementation";

View File

@ -27,11 +27,11 @@ let
};
in stdenv.mkDerivation rec {
pname = "openmpi";
version = "4.1.1";
version = "4.1.2";
src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "1nkwq123vvmggcay48snm9qqmrh0bdzpln0l1jnp26niidvplkz2";
sha256 = "09xmlr4mfs02kwcf5cmdgkcdjj81fjwjmpa3rz2k28f3gz7wfy4v";
};
postPatch = ''

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "frigidaire";
version = "0.17";
version = "0.18.3";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "bm1549";
repo = pname;
rev = version;
sha256 = "sha256-R3OjZyQMUDu8+QPe9y2j1SoWi1b7z/OYWY4wFXGG3zA=";
sha256 = "sha256-ksh7+F78JBHLMmQddyWMf3XC4Tfp4/AMlegE6qHPe2k=";
};
propagatedBuildInputs = [

View File

@ -1,28 +1,47 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, pythonOlder
, fetchFromGitHub
, poetry-core
, httpx
, pytest-asyncio
, pytest-httpx
, pytestCheckHook
, yarl
}:
buildPythonPackage rec {
pname = "netdata";
version = "0.2.1";
version = "1.0.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-oGOT4RvftI/2Ri2icM/AtglNZXt10jkFh/rlr6A46YE=";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "python-netdata";
rev = version;
sha256 = "sha256-4+cTIqytHrCPG7lUZv1IhL7Bk5GlTEveQTtuCkFIepo=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
nativeBuildInputs = [
poetry-core
];
# no tests are present
doCheck = false;
propagatedBuildInputs = [
httpx
yarl
];
pythonImportsCheck = [ "netdata" ];
checkInputs = [
pytest-asyncio
pytest-httpx
pytestCheckHook
];
pythonImportsCheck = [
"netdata"
];
meta = with lib; {
description = "Python API for interacting with Netdata";

View File

@ -1,19 +1,21 @@
{ lib
, buildPythonPackage
, fetchPypi
, ipywidgets
, cdcs
, bibtexparser
, habanero
, pandas
, requests
, numpy
, matplotlib
, unidecode
, buildPythonPackage
, cdcs
, datamodeldict
, xmltodict
, fetchPypi
, habanero
, ipywidgets
, lxml
, matplotlib
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, requests
, scipy
, unidecode
, xmltodict
}:
buildPythonPackage rec {
@ -29,16 +31,18 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
ipywidgets
cdcs
bibtexparser
cdcs
datamodeldict
habanero
ipywidgets
lxml
matplotlib
numpy
pandas
requests
numpy
matplotlib
scipy
unidecode
datamodeldict
xmltodict
];

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, python, isPy3k, arrow-cpp, cmake, cython, hypothesis, numpy, pandas, pytestCheckHook, pytest-lazy-fixture, pkg-config, setuptools-scm, six }:
{ lib, stdenv, buildPythonPackage, python, isPy3k, arrow-cpp, cmake, cython, hypothesis, numpy, pandas, pytestCheckHook, pytest-lazy-fixture, pkg-config, setuptools-scm, six }:
let
_arrow-cpp = arrow-cpp.override { python3 = python; };
@ -44,6 +44,9 @@ buildPythonPackage rec {
# Deselect a parquet dataset test because it erroneously fails to find the
# pyarrow._dataset module.
"--deselect=pyarrow/tests/parquet/test_dataset.py::test_parquet_dataset_deprecated_properties"
] ++ lib.optionals stdenv.isDarwin [
# Requires loopback networking
"--deselect=pyarrow/tests/test_ipc.py::test_socket_"
];
dontUseSetuptoolsCheck = true;

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-requests";
version = "2.26.0";
version = "2.26.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-317Iw0tBOkLrs45Plr3raAkLh1vfzFE43IKYnJVEWIM=";
sha256 = "sha256-CJPhEuFRC7tn9TeUHJIZLedHLlG/fyNuDlg4ZvDtkz4=";
};
# Module doesn't have tests

View File

@ -5,12 +5,12 @@
buildPythonPackage rec {
pname = "types-setuptools";
version = "57.4.3";
version = "57.4.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-G8mgC66QHvk5wXIK4EDJ8RJ+eeYOBFiO0VBsYmhThe0=";
sha256 = "sha256-o8vL8/AhQrtdO1xfWRj0U7h1I2K5bViroqXPpDum0gk=";
};
# Module doesn't have tests

View File

@ -7,21 +7,28 @@
buildPythonPackage rec {
pname = "wiffi";
version = "1.0.1";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "mampfes";
repo = "python-wiffi";
rev = version;
sha256 = "1bsx8dcmbkajh7hdgxg6wdnyxz4bfnd45piiy3yzyvszfdyvxw0f";
sha256 = "sha256-uB4M3etW1DCE//V2pcmsLZbORmrL00pbPADMQD5y3CY=";
};
propagatedBuildInputs = [ aiohttp ];
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "wiffi" ];
pythonImportsCheck = [
"wiffi"
];
meta = with lib; {
description = "Python module to interface with STALL WIFFI devices";

View File

@ -5,13 +5,13 @@
buildGoPackage rec {
pname = "tfsec";
version = "0.60.1";
version = "0.61.0";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JbEqoPuvfG6SwG+uGsV5vy+d+cs/VoGCntq8oU48+y8=";
sha256 = "sha256-O0p7RMZ+JjLMpOQFLNA1LPR56DKcOa/q2vClx16iQNI=";
};
goPackagePath = "github.com/aquasecurity/tfsec";

View File

@ -14,13 +14,13 @@
buildGoModule rec {
pname = "skopeo";
version = "1.5.1";
version = "1.5.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "containers";
repo = "skopeo";
sha256 = "sha256-GaOfONUAN+bNSyodDbZyahMheU5fnjuAp4/94jy+9Hg=";
sha256 = "sha256-KleTvRQwQFr4rrRXFW2z4N7DXIT920O2gig6wmOFIKs=";
};
outputs = [ "out" "man" ];

View File

@ -47,8 +47,8 @@ let
in
{
varnish60 = common {
version = "6.0.8";
sha256 = "1zk83hfxgjq1d0n4zx86q3f05y9f2zc6a1miz1zcvfa052q4bljx";
version = "6.0.9";
sha256 = "1g0pwyckc0xh6ag6wj082x9wn4q6p6krjgc16fkw1arl71c18wsh";
};
varnish70 = (common {
version = "7.0.1";

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "fd";
version = "8.2.1";
version = "8.3.0";
src = fetchFromGitHub {
owner = "sharkdp";
repo = "fd";
rev = "v${version}";
sha256 = "00vlifbri021z8nf7xvbaay8mqvnq58h19va9bqr5lhsqj1f82wq";
sha256 = "sha256-MSkQYsBZkQOFkOnjGY+VuifUZnzloSysAO/hsp+fy1A=";
};
cargoSha256 = "0n6xqd30b8aiqrvqrmy7q56nh62nx2j1a3yq2dlpc19i2mfw2qd8";
cargoSha256 = "sha256-nwgAgyVaxs1ebu9ndUN3FlFiycyEbRgvUhZ8iGmrVhQ=";
nativeBuildInputs = [ installShellFiles ];

View File

@ -32,7 +32,7 @@ buildPythonApplication rec {
--replace 'thrift = "^0.13.0"' 'thrift = "*"' \
--replace 'halo = "^0.0.29"' 'halo = "*"'
substituteInPlace tests/test_inspect.py \
--replace "parquet-cpp-arrow version 5.0.0" "parquet-cpp-arrow version 6.0.0" \
--replace "parquet-cpp-arrow version 5.0.0" "parquet-cpp-arrow version ${pyarrow.version}" \
--replace "serialized_size: 2222" "serialized_size: 2221"
'';

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "shfmt";
version = "3.4.0";
version = "3.4.1";
src = fetchFromGitHub {
owner = "mvdan";
repo = "sh";
rev = "v${version}";
sha256 = "sha256-Bxb4BlvAmJQhog3bZEGHJlrpXNqXpokkipBszPzRHSk=";
sha256 = "sha256-Afu1KjbnIcXQZB8rrpCdgP/ud+tpCf8BrCCOCoSGcms=";
};
vendorSha256 = "sha256-ZYsQ+wE+G7xNrBN29npSxxPCz9+Wb/RsBzM5uwJkhO8=";