1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }:
2
3buildPythonPackage rec {
4 pname = "crytic-compile";
5 version = "0.2.1";
6
7 disabled = pythonOlder "3.6";
8
9 src = fetchFromGitHub {
10 owner = "crytic";
11 repo = "crytic-compile";
12 rev = version;
13 sha256 = "sha256-RDb4Dc+igt2JKskBFIFvYt4xTAMujp8uXnkWsgnwdJE=";
14 };
15
16 propagatedBuildInputs = [ pysha3 setuptools ];
17
18 doCheck = false;
19 pythonImportsCheck = [ "crytic_compile" ];
20
21 meta = with lib; {
22 description = "Abstraction layer for smart contract build systems";
23 homepage = "https://github.com/crytic/crytic-compile";
24 license = licenses.agpl3Plus;
25 maintainers = with maintainers; [ SuperSandro2000 arturcygan ];
26 };
27}