Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

codespell: init at 1.15.0 (#63673)

authored by

Daniel Schaefer and committed by
Timo Kaufmann
ccaaef19 59d52b13

+30
+26
pkgs/development/python-modules/codespell/default.nix
··· 1 + { lib, buildPythonApplication, fetchPypi, pytest, chardet }: 2 + buildPythonApplication rec { 3 + pname = "codespell"; 4 + version = "1.15.0"; 5 + 6 + src = fetchPypi { 7 + inherit pname version; 8 + sha256 = "0c211rzfgmwls8ab8fj21xp9bhxk6ys3xw8w7chp4arjlifc26wg"; 9 + }; 10 + 11 + checkInputs = [ pytest chardet ]; 12 + checkPhase = '' 13 + # We don't want to be affected by the presence of these 14 + rm -r codespell_lib setup.cfg 15 + # test_command assumes too much about the execution environment 16 + pytest --pyargs codespell_lib.tests -k "not test_command" 17 + ''; 18 + 19 + meta = { 20 + description = "Fix common misspellings in source code"; 21 + homepage = "https://github.com/codespell-project/codespell"; 22 + license = with lib.licenses; [ gpl2 cc-by-sa-30 ]; 23 + maintainers = with lib.maintainers; [ johnazoidberg ]; 24 + platforms = lib.platforms.all; 25 + }; 26 + }
+2
pkgs/top-level/all-packages.nix
··· 747 747 748 748 chkcrontab = callPackage ../tools/admin/chkcrontab { }; 749 749 750 + codespell = with python3Packages; toPythonApplication codespell; 751 + 750 752 cozy = callPackage ../applications/audio/cozy-audiobooks { }; 751 753 752 754 ctrtool = callPackage ../tools/archivers/ctrtool { };
+2
pkgs/top-level/python-packages.nix
··· 476 476 477 477 cozy = callPackage ../development/python-modules/cozy { }; 478 478 479 + codespell = callPackage ../development/python-modules/codespell { }; 480 + 479 481 curio = callPackage ../development/python-modules/curio { }; 480 482 481 483 dendropy = callPackage ../development/python-modules/dendropy { };