python310Packages.crytic-compile: add format

This commit is contained in:
Fabian Affolter 2022-10-06 09:07:47 +02:00 committed by GitHub
parent 18a3d28d36
commit a483acbdd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,15 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3, setuptools }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pysha3
, setuptools
}:
buildPythonPackage rec {
pname = "crytic-compile";
version = "0.2.4";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -10,13 +17,19 @@ buildPythonPackage rec {
owner = "crytic";
repo = "crytic-compile";
rev = "refs/tags/${version}";
sha256 = "sha256-phb4Y8CUxuHsNt43oKsgDAZTraNauPkcYQtzcsiWyy8=";
hash = "sha256-phb4Y8CUxuHsNt43oKsgDAZTraNauPkcYQtzcsiWyy8=";
};
propagatedBuildInputs = [ pysha3 setuptools ];
propagatedBuildInputs = [
pysha3
setuptools
];
doCheck = false;
pythonImportsCheck = [ "crytic_compile" ];
pythonImportsCheck = [
"crytic_compile"
];
meta = with lib; {
description = "Abstraction layer for smart contract build systems";