mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
python3Packages.pyls-black: 0.4.6 -> 0.4.7
Remove patch included in upstream release.
This commit is contained in:
parent
6fdb73a3b4
commit
efda027ada
1 changed files with 3 additions and 12 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue