diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix index 8eaf442fb5de..d3295cbb1f8b 100644 --- a/pkgs/development/python-modules/slither-analyzer/default.nix +++ b/pkgs/development/python-modules/slither-analyzer/default.nix @@ -1,7 +1,7 @@ { lib , stdenv , buildPythonPackage -, fetchPypi +, fetchFromGitHub , makeWrapper , pythonOlder , crytic-compile @@ -13,12 +13,16 @@ buildPythonPackage rec { pname = "slither-analyzer"; - version = "0.8.2"; - disabled = pythonOlder "3.6"; + version = "0.8.3"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-77045eB7KvHBb0j61qz4zJTtEprg4/aH6MrPlQY1wiM="; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "crytic"; + repo = "slither"; + rev = version; + sha256 = "sha256-Kh5owlkRB9hDlfIRiS+aNFe4YtZj38CLeE3Fe+R7diM="; }; nativeBuildInputs = [