Loading pkgs/development/python-modules/argcomplete/default.nix +16 −16 Original line number Diff line number Diff line { 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 Loading
pkgs/development/python-modules/argcomplete/default.nix +16 −16 Original line number Diff line number Diff line { 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