beautysh: patch "poetry" reference in pyproject.toml (#248598)

Changed files
+10 -1
pkgs
development
tools
beautysh
+10 -1
pkgs/development/tools/beautysh/default.nix
···
{ lib
, fetchFromGitHub
+
, fetchpatch
, python3
}:
···
version = "6.2.1";
format = "pyproject";
-
src = fetchFromGitHub {
owner = "lovesegfault";
repo = pname;
rev = "v${version}";
hash = "sha256-rPeGRcyNK45Y7OvtzaIH93IIzexBf/jM1SzYP0phQ1o=";
};
+
+
patches = [
+
# https://github.com/lovesegfault/beautysh/pull/247
+
(fetchpatch {
+
name = "poetry-to-poetry-core.patch";
+
url = "https://github.com/lovesegfault/beautysh/commit/5f4fcac083fa68568a50f3c2bcee3ead0f3ca7c5.patch";
+
hash = "sha256-H/kIJKww5ouWu8rmRkaMOXcsq2daZWDdwxBqbc99x0s=";
+
})
+
];
nativeBuildInputs = with python3.pkgs; [
poetry-core