14 buildPythonPackage rec {
15 pname = "slither-analyzer";
17 format = "setuptools";
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
24 rev = "refs/tags/${version}";
25 hash = "sha256-u9uA4eq6gYQXHhZ1ruk1vkEIRTKsgN87zENuR1Fhew4=";
32 propagatedBuildInputs = [
38 postFixup = lib.optionalString withSolc ''
39 wrapProgram $out/bin/slither \
40 --prefix PATH : "${lib.makeBinPath [ solc ]}"
47 description = "Static Analyzer for Solidity";
49 Slither is a Solidity static analysis framework written in Python 3. It
50 runs a suite of vulnerability detectors, prints visual information about
51 contract details, and provides an API to easily write custom analyses.
53 homepage = "https://github.com/trailofbits/slither";
54 license = licenses.agpl3Plus;
55 maintainers = with maintainers; [ arturcygan fab ];