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 {
|
buildPythonPackage rec {
|
||||||
pname = "slither-analyzer";
|
pname = "slither-analyzer";
|
||||||
version = "0.7.0";
|
version = "0.7.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
# No Python tests
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "10r479xidgxvas4wb0z6injp59jrn7rfq8d7bxlcalc2dy4mawr0";
|
sha256 = "sha256-v/UuxxgMmkGfP962AfOQU05MI8xJocpD8SkENCZi04I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [
|
||||||
propagatedBuildInputs = [ crytic-compile prettytable setuptools ];
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
crytic-compile
|
||||||
|
prettytable
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
postFixup = lib.optionalString withSolc ''
|
postFixup = lib.optionalString withSolc ''
|
||||||
wrapProgram $out/bin/slither \
|
wrapProgram $out/bin/slither \
|
||||||
--prefix PATH : "${lib.makeBinPath [ solc ]}"
|
--prefix PATH : "${lib.makeBinPath [ solc ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# No Python tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Static Analyzer for Solidity";
|
description = "Static Analyzer for Solidity";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -43,6 +49,6 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/trailofbits/slither";
|
homepage = "https://github.com/trailofbits/slither";
|
||||||
license = licenses.agpl3Plus;
|
license = licenses.agpl3Plus;
|
||||||
maintainers = with maintainers; [ arturcygan ];
|
maintainers = with maintainers; [ arturcygan fab ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue