Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-04-27 12:07:01 +00:00
committed by GitHub
35 changed files with 349 additions and 113 deletions
@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "adafruit-platformdetect";
version = "3.6.0";
version = "3.8.0";
src = fetchPypi {
pname = "Adafruit-PlatformDetect";
inherit version;
sha256 = "sha256-096bMTAh5d2wikrmlDcUspD9GYZlPHbdDcf/e/BLAHI=";
sha256 = "sha256-AjUpxdY/5IoWMBtufP3OVnMpUwpxgpCNWoydH1w+t+Y=";
};
nativeBuildInputs = [ setuptools-scm ];
@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "adb-enhanced";
version = "2.5.10";
version = "2.5.11";
disabled = pythonOlder "3.4";
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "ashishb";
repo = pname;
rev = version;
sha256 = "sha256-JMbcOk9Yr4WbfVUMKe5zZZWvvjKwhpPMdBt9d7xE6ek=";
sha256 = "sha256-jb5O7Qxk2xAX5sax6nqywcGBJao5Xfff9s1yvdfvDCs=";
};
postPatch = ''
@@ -1,4 +1,5 @@
{ lib
, stdenv
, fetchPypi
, buildPythonPackage
, isPy27
@@ -63,6 +64,9 @@ buildPythonPackage rec {
"test_role_handler_positive"
];
# fails to run tests due to issues with temporary directory
doCheck = !stdenv.isDarwin;
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ansible ]}" ];
meta = with lib; {
@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "bip_utils";
version = "1.7.0";
version = "1.9.0";
disabled = pythonOlder "3.6";
@@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ebellocchia";
repo = pname;
rev = "v${version}";
sha256 = "1dj0c9sj0c4dkdf7rbz3s1z5kfzw22hpncm4bnwqigjzi6nrk81z";
sha256 = "0i1jdpdsrc8cal5x0b1am9mgbca69ymxlaqpkw0y4d0m3m6vs33k";
};
propagatedBuildInputs = [ ecdsa pysha3 ];
@@ -72,7 +72,10 @@ buildPythonPackage rec {
--replace "cmdclass=versioneer.get_cmdclass()," ""
'';
pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ];
pytestFlagsArray = [
"-n $NIX_BUILD_CORES"
"-m 'not network'"
];
disabledTests = [
"test_annotation_pack_unpack"
@@ -82,6 +85,8 @@ buildPythonPackage rec {
"test_auto_blocksize_csv"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "dask.dataframe" "dask" "dask.array" ];
meta = with lib; {
@@ -2,9 +2,9 @@
, buildPythonPackage
, fetchFromGitHub
, substituteAll
, ffmpeg_3
, pytestCheckHook
, ffmpeg
, future
, pytest
, pytestrunner
, pytest-mock
}:
@@ -21,23 +21,20 @@ buildPythonPackage rec {
};
patches = [
(
substituteAll {
src = ./ffmpeg-location.patch;
ffmpeg = ffmpeg_3;
}
)
(substituteAll {
src = ./ffmpeg-location.patch;
inherit ffmpeg;
})
];
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [ future ];
checkInputs = [ pytest pytest-mock ];
checkInputs = [ pytestCheckHook pytest-mock ];
meta = with lib; {
description = "Python bindings for FFmpeg - with complex filtering support";
homepage = "https://github.com/kkroening/ffmpeg-python";
license = licenses.asl20;
maintainers = [ maintainers.AluisioASG ];
platforms = platforms.all;
};
}
@@ -14,26 +14,32 @@
buildPythonPackage rec {
pname = "slither-analyzer";
version = "0.7.0";
version = "0.7.1";
disabled = pythonOlder "3.6";
# No Python tests
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "10r479xidgxvas4wb0z6injp59jrn7rfq8d7bxlcalc2dy4mawr0";
sha256 = "sha256-v/UuxxgMmkGfP962AfOQU05MI8xJocpD8SkENCZi04I=";
};
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = [ crytic-compile prettytable setuptools ];
nativeBuildInputs = [
makeWrapper
];
propagatedBuildInputs = [
crytic-compile
prettytable
setuptools
];
postFixup = lib.optionalString withSolc ''
wrapProgram $out/bin/slither \
--prefix PATH : "${lib.makeBinPath [ solc ]}"
'';
# No Python tests
doCheck = false;
meta = with lib; {
description = "Static Analyzer for Solidity";
longDescription = ''
@@ -43,6 +49,6 @@ buildPythonPackage rec {
'';
homepage = "https://github.com/trailofbits/slither";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ arturcygan ];
maintainers = with maintainers; [ arturcygan fab ];
};
}