depot/third_party/nixpkgs/pkgs/development/python-modules/crytic-compile/default.nix
Default email 0fe1cd7bea Project import generated by Copybara.
GitOrigin-RevId: c6c4a3d45ab200f17805d2d86a1ff1cc7ca2b186
2021-07-16 21:40:57 +02:00

27 lines
734 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }:
buildPythonPackage rec {
pname = "crytic-compile";
version = "0.2.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "crytic";
repo = "crytic-compile";
rev = version;
sha256 = "sha256-Kuc7g5+4TIcQTWYjG4uPN0Rxfom/A/xpek5K5ErlbdU=";
};
propagatedBuildInputs = [ pysha3 setuptools ];
doCheck = false;
pythonImportsCheck = [ "crytic_compile" ];
meta = with lib; {
description = "Abstraction layer for smart contract build systems";
homepage = "https://github.com/crytic/crytic-compile";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 arturcygan ];
};
}