python3Packages.pyls-black: 0.4.6 -> 0.4.7

Remove patch included in upstream release.
This commit is contained in:
sveitser 2021-06-05 15:18:25 +08:00
parent 6fdb73a3b4
commit efda027ada
No known key found for this signature in database
GPG key ID: 584D5AC88FDC1991

View file

@ -1,27 +1,18 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch
{ lib, buildPythonPackage, fetchFromGitHub
, black, toml, pytest, python-language-server, isPy3k
}:
buildPythonPackage rec {
pname = "pyls-black";
version = "0.4.6";
version = "0.4.7";
src = fetchFromGitHub {
owner = "rupert";
repo = "pyls-black";
rev = "v${version}";
sha256 = "0cjf0mjn156qp0x6md6mncs31hdpzfim769c2lixaczhyzwywqnj";
sha256 = "0bkhfnlik89j3yamr20br4wm8975f20v33wabi2nyxvj10whr5dj";
};
# Fix test failure with black 21.4b0+
# Remove if https://github.com/rupert/pyls-black/pull/39 merged.
patches = [
(fetchpatch {
url = "https://github.com/rupert/pyls-black/commit/728207b540d9c25eb0d1cd96419ebfda2e257f63.patch";
sha256 = "0i3w5myhjl5lq1lpkizagnmk6m8fkn3igfyv5f2qcrn5n7f119ak";
})
];
disabled = !isPy3k;
checkPhase = ''