depot/third_party/nixpkgs/pkgs/development/python-modules/solc-select/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

32 lines
647 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, packaging
, pycryptodome
}:
buildPythonPackage rec {
pname = "solc-select";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-850IA1NVvQ4KiH5KEIjqEKFd1k5ECMx/zXLZE7Rvx5k=";
};
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 ];
};
}