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

python310Packages.slither-analyzer: 0.9.1 -> 0.9.2, python310Packages.crytic-compile: 0.2.4 -> 0.3.0
This commit is contained in:
Robert Scott 2023-01-14 20:13:44 +00:00 committed by GitHub
commit 3a29a0b2aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 8 deletions

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, cbor2
, fetchFromGitHub
, pycryptodome
, pythonOlder
, pysha3
, setuptools
}:
buildPythonPackage rec {
pname = "crytic-compile";
version = "0.2.4";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -17,14 +18,16 @@ buildPythonPackage rec {
owner = "crytic";
repo = "crytic-compile";
rev = "refs/tags/${version}";
hash = "sha256-phb4Y8CUxuHsNt43oKsgDAZTraNauPkcYQtzcsiWyy8=";
hash = "sha256-4iTvtu2TmxvLTyWm4PV0+yV1fRLYpJHZNBgjy1MFLjM=";
};
propagatedBuildInputs = [
pysha3
cbor2
pycryptodome
setuptools
];
# Test require network access
doCheck = false;
pythonImportsCheck = [
@ -34,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Abstraction layer for smart contract build systems";
homepage = "https://github.com/crytic/crytic-compile";
changelog = "https://github.com/crytic/crytic-compile/releases/tag/${version}";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 arturcygan ];
};

View File

@ -1,11 +1,12 @@
{ lib
, stdenv
, buildPythonPackage
, crytic-compile
, fetchFromGitHub
, makeWrapper
, pythonOlder
, crytic-compile
, packaging
, prettytable
, pythonOlder
, setuptools
, solc
, withSolc ? false
@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "slither-analyzer";
version = "0.9.1";
version = "0.9.2";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -22,7 +23,7 @@ buildPythonPackage rec {
owner = "crytic";
repo = "slither";
rev = "refs/tags/${version}";
hash = "sha256-u9uA4eq6gYQXHhZ1ruk1vkEIRTKsgN87zENuR1Fhew4=";
hash = "sha256-Co3BFdLmSIMqlZVEPJHYH/Cf7oKYSZ+Ktbnd5RZGmfE=";
};
nativeBuildInputs = [
@ -31,6 +32,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
crytic-compile
packaging
prettytable
setuptools
];
@ -51,6 +53,7 @@ buildPythonPackage rec {
contract details, and provides an API to easily write custom analyses.
'';
homepage = "https://github.com/trailofbits/slither";
changelog = "https://github.com/crytic/slither/releases/tag/${version}";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ arturcygan fab ];
};