depot/third_party/nixpkgs/pkgs/development/python-modules/crytic-compile/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

27 lines
749 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }:
buildPythonPackage rec {
pname = "crytic-compile";
version = "0.2.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "crytic";
repo = "crytic-compile";
rev = "refs/tags/${version}";
sha256 = "sha256-l8a9QXERpkVrx7zHluMlb3zBvJSODsviNtJPzvL3hDo=";
};
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 ];
};
}