21 sample-contract = writeText "example.vy" ''
25 def __init__(foo: address):
30 buildPythonPackage rec {
33 format = "setuptools";
35 disabled = pythonOlder "3.7";
38 inherit pname version;
39 hash = "sha256-jcH1AcqrQX+wzpxoppRFh/AUfsfMfTiJzzpFwZRm5Ik=";
43 # Git is used in setup.py to compute version information during building
44 # ever since https://github.com/vyperlang/vyper/pull/2816
52 pythonRelaxDeps = [ "asttokens" "semantic-version" ];
54 propagatedBuildInputs = [
68 $out/bin/vyper "${sample-contract}"
72 description = "Pythonic Smart Contract Language for the EVM";
73 homepage = "https://github.com/vyperlang/vyper";
74 license = licenses.asl20;
75 maintainers = with maintainers; [ siraben ];