Loading pkgs/development/python-modules/thefuzz/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pythonOlder , pytestCheckHook , hypothesis , python-Levenshtein }: buildPythonPackage rec { pname = "thefuzz"; version = "0.19.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-b3Em2y8silQhKwXjp0DkX0KRxJfXXSB1Fyj2Nbt0qj0="; }; propagatedBuildInputs = [ python-Levenshtein ]; # Skip linting postPatch = '' substituteInPlace test_thefuzz.py --replace "import pycodestyle" "" ''; pythonImportsCheck = [ "thefuzz" ]; checkInputs = [ hypothesis pytestCheckHook ]; disabledTests = [ # Skip linting "test_pep8_conformance" ]; meta = with lib; { description = "Fuzzy string matching for Python"; homepage = "https://github.com/seatgeek/thefuzz"; changelog = "https://github.com/seatgeek/thefuzz/blob/${version}/CHANGES.rst"; license = licenses.gpl2Only; maintainers = with maintainers; [ sumnerevans ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11209,6 +11209,8 @@ self: super: with self; { cudnnSupport = false; }; thefuzz = callPackage ../development/python-modules/thefuzz { }; thermobeacon-ble = callPackage ../development/python-modules/thermobeacon-ble { }; thermopro-ble = callPackage ../development/python-modules/thermopro-ble { }; Loading Loading
pkgs/development/python-modules/thefuzz/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchPypi , pythonOlder , pytestCheckHook , hypothesis , python-Levenshtein }: buildPythonPackage rec { pname = "thefuzz"; version = "0.19.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-b3Em2y8silQhKwXjp0DkX0KRxJfXXSB1Fyj2Nbt0qj0="; }; propagatedBuildInputs = [ python-Levenshtein ]; # Skip linting postPatch = '' substituteInPlace test_thefuzz.py --replace "import pycodestyle" "" ''; pythonImportsCheck = [ "thefuzz" ]; checkInputs = [ hypothesis pytestCheckHook ]; disabledTests = [ # Skip linting "test_pep8_conformance" ]; meta = with lib; { description = "Fuzzy string matching for Python"; homepage = "https://github.com/seatgeek/thefuzz"; changelog = "https://github.com/seatgeek/thefuzz/blob/${version}/CHANGES.rst"; license = licenses.gpl2Only; maintainers = with maintainers; [ sumnerevans ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11209,6 +11209,8 @@ self: super: with self; { cudnnSupport = false; }; thefuzz = callPackage ../development/python-modules/thefuzz { }; thermobeacon-ble = callPackage ../development/python-modules/thermobeacon-ble { }; thermopro-ble = callPackage ../development/python-modules/thermopro-ble { }; Loading