1 { lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }:
3 buildPythonPackage rec {
4 pname = "crytic-compile";
7 disabled = pythonOlder "3.6";
10 substituteInPlace setup.py --replace 'version="0.1.11",' 'version="${version}",'
13 src = fetchFromGitHub {
15 repo = "crytic-compile";
17 sha256 = "sha256-KJRfkUyUI0M7HevY4XKOtCvU+SFlsJIl3kTIccWfNmw=";
20 propagatedBuildInputs = [ pysha3 setuptools ];
23 pythonImportsCheck = [ "crytic_compile" ];
26 description = "Abstraction layer for smart contract build systems";
27 homepage = "https://github.com/crytic/crytic-compile";
28 license = licenses.agpl3Plus;
29 maintainers = with maintainers; [ SuperSandro2000 arturcygan ];