Unverified Commit ba40f99a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #265402 from r-ryantm/auto-update/python310Packages.bip-utils

python310Packages.bip-utils: 2.7.1 -> 2.8.0
parents f5f82f3f 81c1fea9
Loading
Loading
Loading
Loading
+8 −13
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, ecdsa
, cbor2
, coincurve
, pynacl
, crcmod
, ecdsa
, ed25519-blake2b
, fetchFromGitHub
, py-sr25519-bindings
, cbor2
, pycryptodome
, pynacl
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "bip-utils";
  version = "2.7.1";
  version = "2.8.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";
  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "ebellocchia";
    repo = "bip_utils";
    rev = "refs/tags/v${version}";
    hash = "sha256-QrCkLiGBdZTQCnbWSTN0PeoAsQfg2CoSGdZcbhqTvOk=";
    hash = "sha256-FW3ni7kPB0VeVK/uWjDEeWgilP9dNiuvSaboUpG5DLo=";
  };

  postPatch = ''
    substituteInPlace requirements.txt \
      --replace "coincurve>=15.0.1,<18.0.0" "coincurve"
  '';

  propagatedBuildInputs = [
    ecdsa
    cbor2