nixpkgs/pkgs/development/python-modules/solc-select/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
645 B
Nix
Raw Normal View History

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