python3Packages.charset-normalizer: init at 2.0.1

authored by

Fabian Affolter and committed by
Martin Weinelt
5e3cb009 0877ba5e

+37
+35
pkgs/development/python-modules/charset-normalizer/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "charset-normalizer"; 9 + version = "2.0.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Ousret"; 13 + repo = "charset_normalizer"; 14 + rev = version; 15 + sha256 = "04rnyrqay11kma9pzagi1mzhc0sq37ggpv39kad2d4ynm35v2hfq"; 16 + }; 17 + 18 + checkInputs = [ 19 + pytestCheckHook 20 + ]; 21 + 22 + postPatch = '' 23 + substituteInPlace setup.cfg \ 24 + --replace " --cov=charset_normalizer --cov-report=term-missing" "" 25 + ''; 26 + 27 + pythonImportsCheck = [ "charset_normalizer" ]; 28 + 29 + meta = with lib; { 30 + description = "Python module for encoding and language detection"; 31 + homepage = "https://charset-normalizer.readthedocs.io/"; 32 + license = licenses.mit; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+2
pkgs/top-level/python-packages.nix
··· 1423 1423 1424 1424 chardet = callPackage ../development/python-modules/chardet { }; 1425 1425 1426 + charset-normalizer = callPackage ../development/python-modules/charset-normalizer { }; 1427 + 1426 1428 chart-studio = callPackage ../development/python-modules/chart-studio { }; 1427 1429 1428 1430 check-manifest = callPackage ../development/python-modules/check-manifest { };