From d74e0d32bd1d97854844e3245bf7554fb07fede0 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Fri, 7 Jan 2022 09:04:27 -0800 Subject: [PATCH] python3Packages.charset-normalizer: add downstream tests --- .../python-modules/charset-normalizer/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/charset-normalizer/default.nix b/pkgs/development/python-modules/charset-normalizer/default.nix index 9661700a2858..b40ef02fd6d9 100644 --- a/pkgs/development/python-modules/charset-normalizer/default.nix +++ b/pkgs/development/python-modules/charset-normalizer/default.nix @@ -3,6 +3,10 @@ , fetchFromGitHub , pytestCheckHook , pythonOlder + + # popular downstream dependencies +, aiohttp +, requests }: buildPythonPackage rec { @@ -32,6 +36,8 @@ buildPythonPackage rec { "charset_normalizer" ]; + passthru.tests = { inherit aiohttp requests; }; + meta = with lib; { description = "Python module for encoding and language detection"; homepage = "https://charset-normalizer.readthedocs.io/";