python311Packages.pynvim: switch to github sources

This commit is contained in:
Gaetan Lepage 2023-12-06 07:55:26 +01:00
parent a30869a058
commit 3ad1b6963c

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, msgpack
, greenlet
, pythonOlder
@ -14,9 +14,11 @@ buildPythonPackage rec {
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OnlTeL3l6AkvvrOhqZvpxhPSaFVC8dsOXG/UZ+7Vbf8=";
src = fetchFromGitHub {
owner = "neovim";
repo = "pynvim";
rev = "refs/tags/${version}";
hash = "sha256-8sgVJh143L9qaoTMC67K8ays+qUF6OufIZE3sb0HXyQ=";
};
postPatch = ''