Merge pull request #131943 from arcz/solc-select
solc-select: init at 0.2.1
This commit is contained in:
commit
1e6fb2a747
25
pkgs/development/python-modules/solc-select/default.nix
Normal file
25
pkgs/development/python-modules/solc-select/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9056,6 +9056,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 {
|
||||||
|
|
|
@ -8172,6 +8172,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 { };
|
||||||
|
|
Loading…
Reference in a new issue