Merge pull request #120845 from fabaff/bump-slither-analyzer

slither-analyzer: 0.7.0 -> 0.7.1
This commit is contained in:
Fabian Affolter 2021-04-27 13:04:56 +02:00 committed by GitHub
commit 5ebffcc753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}