mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #120845 from fabaff/bump-slither-analyzer
slither-analyzer: 0.7.0 -> 0.7.1
This commit is contained in:
commit
5ebffcc753
1 changed files with 15 additions and 9 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue