1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pysha3 6, setuptools 7}: 8 9buildPythonPackage rec { 10 pname = "crytic-compile"; 11 version = "0.2.4"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "crytic"; 18 repo = "crytic-compile"; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-phb4Y8CUxuHsNt43oKsgDAZTraNauPkcYQtzcsiWyy8="; 21 }; 22 23 propagatedBuildInputs = [ 24 pysha3 25 setuptools 26 ]; 27 28 doCheck = false; 29 30 pythonImportsCheck = [ 31 "crytic_compile" 32 ]; 33 34 meta = with lib; { 35 description = "Abstraction layer for smart contract build systems"; 36 homepage = "https://github.com/crytic/crytic-compile"; 37 license = licenses.agpl3Plus; 38 maintainers = with maintainers; [ SuperSandro2000 arturcygan ]; 39 }; 40}