depot/third_party/nixpkgs/pkgs/development/python-modules/solc-select/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

32 lines
647 B
Nix

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