solc-select: init at 0.2.1

This commit is contained in:
Artur Cygan 2021-07-29 14:04:45 +02:00
parent 2323c6e153
commit 8825561ed3
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "solc-select";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6VawTcffIgnR+zuC4rti+Ocwu1VMTX+VihT/L7LzchI=";
};
# no tests
doCheck = false;
pythonImportsCheck = [ "solc_select" ];
meta = with lib; {
description = "Manage and switch between Solidity compiler versions";
homepage = "https://github.com/crytic/solc-select";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ arturcygan ];
};
}

View File

@ -9023,6 +9023,8 @@ in
autoreconfHook = buildPackages.autoreconfHook269; autoreconfHook = buildPackages.autoreconfHook269;
}; };
solc-select = with python3Packages; toPythonApplication solc-select;
sourceHighlight = callPackage ../tools/text/source-highlight { }; sourceHighlight = callPackage ../tools/text/source-highlight { };
spacebar = callPackage ../os-specific/darwin/spacebar { spacebar = callPackage ../os-specific/darwin/spacebar {

View File

@ -8150,6 +8150,8 @@ in {
solax = callPackage ../development/python-modules/solax { }; solax = callPackage ../development/python-modules/solax { };
solc-select = callPackage ../development/python-modules/solc-select { };
solo-python = disabledIf (!pythonAtLeast "3.6") (callPackage ../development/python-modules/solo-python { }); solo-python = disabledIf (!pythonAtLeast "3.6") (callPackage ../development/python-modules/solo-python { });
somajo = callPackage ../development/python-modules/somajo { }; somajo = callPackage ../development/python-modules/somajo { };