nixpkgs/pkgs/development/python-modules/solc-select/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

33 lines
645 B
Nix

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