From ca83cf515c04953235e60115eb3dde94e3720031 Mon Sep 17 00:00:00 2001 From: hellwolf Date: Sun, 24 Mar 2024 18:30:59 +0200 Subject: [PATCH] python311Packages.eth-keyfile: 0.6.0 -> 0.8.0 - use pyproject & setuptools-scm - remove the setuptools-markdown post patch --- .../python-modules/eth-keyfile/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/eth-keyfile/default.nix b/pkgs/development/python-modules/eth-keyfile/default.nix index b52dde5df2d4..e8e42a56c60f 100644 --- a/pkgs/development/python-modules/eth-keyfile/default.nix +++ b/pkgs/development/python-modules/eth-keyfile/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , eth-keys , eth-utils , pycryptodome @@ -10,22 +11,19 @@ buildPythonPackage rec { pname = "eth-keyfile"; - version = "0.6.0"; - format = "setuptools"; - disabled = pythonOlder "3.7"; + version = "0.8.0"; + pyproject = true; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ethereum"; repo = "eth-keyfile"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-JD4bRoD9L0JXcd+bTZrq/BkWw5QGzOi1RvoyLJC77kk="; + hash = "sha256-797yhHuU9/lm96YKxl3SZ5IQAwDxDSYkLkiBdAHh0Uk="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "'setuptools-markdown'" "" - ''; + build-system = [ setuptools]; propagatedBuildInputs = [ eth-keys