depot/third_party/nixpkgs/pkgs/development/python-modules/solc-select/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
677 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
packaging,
pycryptodome,
}:
buildPythonPackage rec {
pname = "solc-select";
version = "1.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-23ud4AmvbeOlQWuAu+W21ja/MUcDwBYxm4wSMeJIpsc=";
};
propagatedBuildInputs = [
packaging
pycryptodome
];
# 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 ];
};
}