codespell: 2.2.2 -> 2.2.4
This commit is contained in:
parent
d46a7817b8
commit
0701506bf1
|
@ -6,18 +6,18 @@
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "codespell";
|
pname = "codespell";
|
||||||
version = "2.2.2";
|
version = "2.2.4";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "codespell-project";
|
owner = "codespell-project";
|
||||||
repo = "codespell";
|
repo = "codespell";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-zXHqaZzGIS7BOFc/kPzA4sgpoEmXuaKHdOcKpMWWeOI=";
|
sha256 = "sha256-hyTy6zAH5WrW5Jn/g0irH9xGZErnXJMSUYZaNxMvq2Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "--cov=codespell_lib" "" \
|
--replace "--cov=codespell_lib" "" \
|
||||||
--replace "--cov-report=" ""
|
--replace "--cov-report=" ""
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue