diff options
Diffstat (limited to 'pkgs/development/python-modules/recipe-scrapers/default.nix')
-rw-r--r-- | pkgs/development/python-modules/recipe-scrapers/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/recipe-scrapers/default.nix b/pkgs/development/python-modules/recipe-scrapers/default.nix index b9f29be757fec..9ff74c48044b8 100644 --- a/pkgs/development/python-modules/recipe-scrapers/default.nix +++ b/pkgs/development/python-modules/recipe-scrapers/default.nix @@ -9,18 +9,21 @@ , pytestCheckHook , responses , setuptools +, pythonOlder }: buildPythonPackage rec { pname = "recipe-scrapers"; - version = "14.52.0"; - format = "pyproject"; + version = "14.53.0"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "hhursev"; repo = "recipe-scrapers"; rev = "refs/tags/${version}"; - hash = "sha256-VdJZnwo+DwVDZuuuqk0X26CXs7ZrUFXqC8qEYaX74Zc="; + hash = "sha256-uYUzn3JlsZmzzbk740aD3PW3OuGqdsAfU7HlYX5kPrY="; }; nativeBuildInputs = [ @@ -40,16 +43,19 @@ buildPythonPackage rec { responses ]; - disabledTestPaths = [ - # This is not actual code, just some pre-written boiler-plate template - "templates/test_scraper.py" + disabledTests = [ + # Fixture is broken + "test_instructions" ]; - pythonImportsCheck = [ "recipe_scrapers" ]; + pythonImportsCheck = [ + "recipe_scrapers" + ]; meta = with lib; { - description = "Python package for scraping recipes data "; + description = "Python package for scraping recipes data"; homepage = "https://github.com/hhursev/recipe-scrapers"; + changelog = "https://github.com/hhursev/recipe-scrapers/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ ambroisie ]; }; |