nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 27 lines 749 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }: 2 3buildPythonPackage rec { 4 pname = "crytic-compile"; 5 version = "0.2.3"; 6 7 disabled = pythonOlder "3.6"; 8 9 src = fetchFromGitHub { 10 owner = "crytic"; 11 repo = "crytic-compile"; 12 rev = "refs/tags/${version}"; 13 sha256 = "sha256-l8a9QXERpkVrx7zHluMlb3zBvJSODsviNtJPzvL3hDo="; 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}