From a483acbdd52d0917892ba7e40a4bcde5add1e867 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Oct 2022 09:07:47 +0200 Subject: [PATCH] python310Packages.crytic-compile: add format --- .../python-modules/crytic-compile/default.nix | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/crytic-compile/default.nix b/pkgs/development/python-modules/crytic-compile/default.nix index daf2942fe06a..d09fccfe5e10 100644 --- a/pkgs/development/python-modules/crytic-compile/default.nix +++ b/pkgs/development/python-modules/crytic-compile/default.nix @@ -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";