Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 32 lines 645 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, packaging 5, pycryptodome 6}: 7 8buildPythonPackage rec { 9 pname = "solc-select"; 10 version = "1.0.3"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-850IA1NVvQ4KiH5KEIjqEKFd1k5ECMx/zXLZE7Rvx5k="; 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}