1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 packaging,
6 pycryptodome,
7}:
8
9buildPythonPackage rec {
10 pname = "solc-select";
11 version = "1.0.4";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-23ud4AmvbeOlQWuAu+W21ja/MUcDwBYxm4wSMeJIpsc=";
17 };
18
19 propagatedBuildInputs = [
20 packaging
21 pycryptodome
22 ];
23
24 # no tests
25 doCheck = false;
26 pythonImportsCheck = [ "solc_select" ];
27
28 meta = with lib; {
29 description = "Manage and switch between Solidity compiler versions";
30 homepage = "https://github.com/crytic/solc-select";
31 license = licenses.agpl3Plus;
32 maintainers = with maintainers; [ arturcygan ];
33 };
34}