From a32dce52744c355576853781e2ac3e1e00abd3c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 17:24:22 +0100 Subject: [PATCH 1/5] python310Packages.slither-analyzer: add changelog to meta --- pkgs/development/python-modules/slither-analyzer/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix index 303d385bbc42..4654b67cac4b 100644 --- a/pkgs/development/python-modules/slither-analyzer/default.nix +++ b/pkgs/development/python-modules/slither-analyzer/default.nix @@ -51,6 +51,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 ]; }; From d07819dfdf74ec4ff45f18f8426f5ae02ea55d6a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 17:33:09 +0100 Subject: [PATCH 2/5] python310Packages.crytic-compile: add changelog to meta --- pkgs/development/python-modules/crytic-compile/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/crytic-compile/default.nix b/pkgs/development/python-modules/crytic-compile/default.nix index d09fccfe5e10..c840eb020380 100644 --- a/pkgs/development/python-modules/crytic-compile/default.nix +++ b/pkgs/development/python-modules/crytic-compile/default.nix @@ -34,6 +34,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 ]; }; From 1be7748c0db9ba1ab7eedc9a1ebcf1201f5a0ecf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 17:35:40 +0100 Subject: [PATCH 3/5] python310Packages.crytic-compile: 0.2.4 -> 0.3.0 Changelog: https://github.com/crytic/crytic-compile/releases/tag/0.3.0 --- .../python-modules/crytic-compile/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/crytic-compile/default.nix b/pkgs/development/python-modules/crytic-compile/default.nix index c840eb020380..c717ea22691f 100644 --- a/pkgs/development/python-modules/crytic-compile/default.nix +++ b/pkgs/development/python-modules/crytic-compile/default.nix @@ -1,14 +1,16 @@ { lib , buildPythonPackage +, cbor2 , fetchFromGitHub -, pythonOlder +, pycryptodome , pysha3 +, pythonOlder , setuptools }: buildPythonPackage rec { pname = "crytic-compile"; - version = "0.2.4"; + version = "0.3.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -17,10 +19,12 @@ buildPythonPackage rec { owner = "crytic"; repo = "crytic-compile"; rev = "refs/tags/${version}"; - hash = "sha256-phb4Y8CUxuHsNt43oKsgDAZTraNauPkcYQtzcsiWyy8="; + hash = "sha256-4iTvtu2TmxvLTyWm4PV0+yV1fRLYpJHZNBgjy1MFLjM="; }; propagatedBuildInputs = [ + cbor2 + pycryptodome pysha3 setuptools ]; From f5de0ca52ecc9363d0653927683a90fe9e79a634 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 17:36:46 +0100 Subject: [PATCH 4/5] python310Packages.slither-analyzer: 0.9.1 -> 0.9.2 Changelog: https://github.com/crytic/slither/releases/tag/0.9.2 --- .../python-modules/slither-analyzer/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix index 4654b67cac4b..ef2a897de21e 100644 --- a/pkgs/development/python-modules/slither-analyzer/default.nix +++ b/pkgs/development/python-modules/slither-analyzer/default.nix @@ -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 ]; From 2c6a44a598bfe6af95da619f6c46c571e03050ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 14 Jan 2023 18:45:25 +0100 Subject: [PATCH 5/5] python310Packages.crytic-compile: adjust input and add comment --- pkgs/development/python-modules/crytic-compile/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/crytic-compile/default.nix b/pkgs/development/python-modules/crytic-compile/default.nix index c717ea22691f..5133f1642e13 100644 --- a/pkgs/development/python-modules/crytic-compile/default.nix +++ b/pkgs/development/python-modules/crytic-compile/default.nix @@ -3,7 +3,6 @@ , cbor2 , fetchFromGitHub , pycryptodome -, pysha3 , pythonOlder , setuptools }: @@ -25,10 +24,10 @@ buildPythonPackage rec { propagatedBuildInputs = [ cbor2 pycryptodome - pysha3 setuptools ]; + # Test require network access doCheck = false; pythonImportsCheck = [