Unverified Commit f4b789e2 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

vyper: 0.4.0 -> 0.4.1 (#396531)

parents 80eb0593 4828c40e
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
{
  lib,
  lark,
  asttokens,
  buildPythonPackage,
  cbor2,
@@ -28,21 +29,20 @@ let
in
buildPythonPackage rec {
  pname = "vyper";
  version = "0.4.0";
  version = "0.4.1";
  pyproject = true;

  disabled = pythonOlder "3.10";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-locUXGoL9C3lLpIgLOmpE2SNPGV6yOXPubNaEA3EfjQ=";
    hash = "sha256-KiGbiVybWtanEjem+30DpuzKqAD6owujJBiEfjUKleM=";
  };

  postPatch = ''
    # pythonRelaxDeps doesn't work
    substituteInPlace setup.py \
      --replace-fail "setuptools_scm>=7.1.0,<8.0.0" "setuptools_scm>=7.1.0" \
      --replace-fail '"pytest-runner",' ""
      --replace-fail "setuptools_scm>=7.1.0,<8.0.0" "setuptools_scm>=7.1.0"
  '';

  nativeBuildInputs = [
@@ -59,6 +59,7 @@ buildPythonPackage rec {
  ];

  propagatedBuildInputs = [
    lark
    asttokens
    cbor2
    importlib-metadata