python311Packages.argcomplete: 3.0.8 -> 3.1.1
Diff: https://github.com/kislyuk/argcomplete/compare/refs/tags/v3.0.8...v3.1.1 Changelog: https://github.com/kislyuk/argcomplete/blob/v3.1.1/Changes.rst
This commit is contained in:
parent
fad11eeeb4
commit
8fe360d255
1 changed files with 16 additions and 16 deletions
|
@ -1,33 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pexpect
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "argcomplete";
|
||||
version = "3.0.8";
|
||||
format = "setuptools";
|
||||
version = "3.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ucqWRI4U+kWddFCkq1oiu/nO5Lp63d8D5lw5i12u6ig=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kislyuk";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-N1Us/dpF/y638qIuwTzBiuv4vXfBMtWxmQnMBxNTUuc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"coverage",' "" \
|
||||
--replace " + lint_require" ""
|
||||
'';
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pexpect
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
# tries to build and install test packages which fails
|
||||
# Tries to build and install test packages which fails
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
Loading…
Reference in a new issue