Unverified Commit 3a29a0b2 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

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
parents bc123589 2c6a44a5
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
{ 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 ];
  };
+7 −4
Original line number Diff line number Diff line
{ 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 ];
  };