Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / socialscan / default.nix
blob430cc1f5a725382042042e771c481cb0a580d987
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , colorama
6 , pythonOlder
7 , tqdm
8 }:
10 buildPythonPackage rec {
11   pname = "socialscan";
12   version = "2.0.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "iojw";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     colorama
27     tqdm
28   ];
30   # Tests require network access
31   doCheck = false;
33   pythonImportsCheck = [
34     "socialscan"
35   ];
37   meta = with lib; {
38     description = "Python library and CLI for accurately querying username and email usage on online platforms";
39     mainProgram = "socialscan";
40     homepage = "https://github.com/iojw/socialscan";
41     changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}";
42     license = with licenses; [ mpl20 ];
43     maintainers = with maintainers; [ fab ];
44   };