From b7cf39083799736b505ccc1a9a4fa0bddde1eb84 Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Wed, 9 Dec 2020 06:29:13 +0100 Subject: [PATCH] pythonPackages.tldextract: add missing dependency --- .../development/python-modules/tldextract/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/tldextract/default.nix b/pkgs/development/python-modules/tldextract/default.nix index 02359ce67a59..b91289e50614 100644 --- a/pkgs/development/python-modules/tldextract/default.nix +++ b/pkgs/development/python-modules/tldextract/default.nix @@ -1,5 +1,5 @@ { lib, fetchPypi, buildPythonPackage, setuptools_scm -, requests, requests-file, idna, pytest +, requests, requests-file, idna, filelock, pytest , responses }: @@ -12,14 +12,17 @@ buildPythonPackage rec { sha256 = "cfae9bc8bda37c3e8c7c8639711ad20e95dc85b207a256b60b0b23d7ff5540ea"; }; - propagatedBuildInputs = [ requests requests-file idna ]; + propagatedBuildInputs = [ requests requests-file idna filelock ]; checkInputs = [ pytest responses ]; nativeBuildInputs = [ setuptools_scm ]; + # No tests included + doCheck = false; + pythonImportsCheck = [ "tldextract" ]; + meta = { homepage = "https://github.com/john-kurkowski/tldextract"; - description = "Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List."; + description = "Accurately separate the TLD from the registered domain and subdomains of a URL, using the Public Suffix List"; license = lib.licenses.bsd3; }; - }