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