From 3aa03e3843fcc5f6617751f8ba996239d7c1c90b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 22 Aug 2024 19:32:01 +0100 Subject: [PATCH] recipe-scrapers: add downstream NixOS tests --- .../development/python-modules/recipe-scrapers/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/recipe-scrapers/default.nix b/pkgs/development/python-modules/recipe-scrapers/default.nix index d82175c155a7..f64e8e68c8e2 100644 --- a/pkgs/development/python-modules/recipe-scrapers/default.nix +++ b/pkgs/development/python-modules/recipe-scrapers/default.nix @@ -11,6 +11,7 @@ responses, setuptools, pythonOlder, + nixosTests, }: buildPythonPackage rec { @@ -49,6 +50,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "recipe_scrapers" ]; + passthru = { + tests = { + inherit (nixosTests) mealie tandoor-recipes; + }; + }; + meta = with lib; { description = "Python package for scraping recipes data"; homepage = "https://github.com/hhursev/recipe-scrapers";