lol

python310Packages.vega: fully switch to poetry-core

+9 -4
+9 -4
pkgs/development/python-modules/vega/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , fetchpatch 3 4 , fetchPypi 4 5 , pythonOlder 5 6 , pythonRelaxDepsHook ··· 26 27 hash = "sha256-v1/8taHdN1n9+gy7L+g/wAJ2x9FwYCaxZiEdFqLct1Y="; 27 28 }; 28 29 29 - postPatch = '' 30 - substituteInPlace pyproject.toml \ 31 - --replace "poetry.masonry.api" "poetry.core.masonry.api" 32 - ''; 30 + patches = [ 31 + # https://github.com/vega/ipyvega/pull/507 32 + (fetchpatch { 33 + name = "replace-poetry-with-poetry-core.patch"; 34 + url = "https://github.com/vega/ipyvega/commit/1a5028ee5d54e24b9650b66685f54c42b72c7899.patch"; 35 + hash = "sha256-W8UmMit7DJGKCM9+/OSRLTuRvC0ZR42AP/b/frVEvsk="; 36 + }) 37 + ]; 33 38 34 39 nativeBuildInputs = [ 35 40 poetry-core