python3Packages.immutabledict: 2.1.0 -> 2.2.0

This commit is contained in:
Martin Weinelt 2021-08-28 18:47:01 +02:00
parent 754c7ed6e0
commit 6914f2a363

View File

@ -7,22 +7,16 @@
buildPythonPackage rec {
pname = "immutabledict";
version = "2.1.0";
version = "2.2.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "corenting";
repo = "immutabledict";
rev = "v${version}";
sha256 = "1n71154nfb6vr41iv00xcwkxmwnn1vwzbr3s23bjvlhvmnjb48a8";
sha256 = "sha256-Jf7ad3ImPfEvCBrUZ1NVXMCBqwLmd0hwpKfe9rVsehc=";
};
# https://github.com/corenting/immutabledict/issues/56
postPatch = ''
substituteInPlace pyproject.toml \
--replace "poetry.masonry.api" "poetry.core.masonry.api"
'';
nativeBuildInputs = [
poetry-core
];