mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
python3Packages.codespell: Migrate out of python package set
This commit is contained in:
parent
5f14d6e828
commit
df99716e49
@ -1,8 +1,13 @@
|
||||
{ lib, buildPythonApplication, fetchFromGitHub, pytestCheckHook, pytest-dependency, aspell-python, aspellDicts, chardet }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, aspellDicts
|
||||
, python3
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "codespell";
|
||||
version = "2.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codespell-project";
|
||||
@ -17,7 +22,12 @@ buildPythonApplication rec {
|
||||
--replace "--cov-report=" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ aspell-python chardet pytestCheckHook pytest-dependency ];
|
||||
checkInputs = with python3.pkgs; [
|
||||
aspell-python
|
||||
chardet
|
||||
pytestCheckHook
|
||||
pytest-dependency
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export ASPELL_CONF="dict-dir ${aspellDicts.en}/lib/aspell"
|
@ -2406,7 +2406,7 @@ with pkgs;
|
||||
|
||||
cod = callPackage ../tools/misc/cod { };
|
||||
|
||||
codespell = with python3Packages; toPythonApplication codespell;
|
||||
codespell = callPackage ../development/tools/codespell { };
|
||||
|
||||
coolreader = libsForQt5.callPackage ../applications/misc/coolreader {};
|
||||
|
||||
|
@ -43,6 +43,7 @@ mapAliases ({
|
||||
bt_proximity = throw "'bt_proximity' has been renamed to/replaced by 'bt-proximity'"; # Converted to throw 2022-09-24
|
||||
carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18
|
||||
class-registry = phx-class-registry; # added 2021-10-05
|
||||
codespell = throw "codespell has been promoted to a top-level attribute"; # Added 2022-10-02
|
||||
ConfigArgParse = throw "'ConfigArgParse' has been renamed to/replaced by 'configargparse'"; # Converted to throw 2022-09-24
|
||||
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
|
||||
cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23
|
||||
|
@ -1962,8 +1962,6 @@ in {
|
||||
|
||||
codepy = callPackage ../development/python-modules/codepy { };
|
||||
|
||||
codespell = callPackage ../development/python-modules/codespell { };
|
||||
|
||||
cogapp = callPackage ../development/python-modules/cogapp { };
|
||||
|
||||
coinmetrics-api-client = callPackage ../development/python-modules/coinmetrics-api-client { };
|
||||
|
Loading…
Reference in New Issue
Block a user