Commit 395de7e9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.ignorant: init at 1.2

Module to check if a phone number is use

https://github.com/megadose/ignorant
parent b28a8f0b
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{
  lib,
  beautifulsoup4,
  buildPythonPackage,
  fetchPypi,
  httpx,
  setuptools,
  termcolor,
  tqdm,
  trio,
}:

buildPythonPackage rec {
  pname = "ignorant";
  version = "1.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-SLjED08uI+RjX+E0WHTQceReTEaY9WLPhXR3n0fP080=";
  };

  pythonRemoveDeps = [
    # https://github.com/megadose/ignorant/pull/37
    "argparse"
    # https://github.com/megadose/ignorant/pull/36
    "bs4"
  ];

  build-system = [ setuptools ];

  dependencies = [
    beautifulsoup4
    httpx
    termcolor
    tqdm
    trio
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "ignorant" ];

  meta = {
    description = "Module to check if a phone number is used on different sites";
    homepage = "https://pypi.org/project/ignorant/";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7390,6 +7390,8 @@ self: super: with self; {
  ignite = callPackage ../development/python-modules/ignite { };
  ignorant = callPackage ../development/python-modules/ignorant { };
  igraph = callPackage ../development/python-modules/igraph { inherit (pkgs) igraph; };
  ihcsdk = callPackage ../development/python-modules/ihcsdk { };