1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 colorama,
7 pythonOlder,
8 tqdm,
9}:
10
11buildPythonPackage rec {
12 pname = "socialscan";
13 version = "2.0.1";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "iojw";
20 repo = "socialscan";
21 tag = "v${version}";
22 hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
23 };
24
25 propagatedBuildInputs = [
26 aiohttp
27 colorama
28 tqdm
29 ];
30
31 # Tests require network access
32 doCheck = false;
33
34 pythonImportsCheck = [ "socialscan" ];
35
36 meta = with lib; {
37 description = "Python library and CLI for accurately querying username and email usage on online platforms";
38 mainProgram = "socialscan";
39 homepage = "https://github.com/iojw/socialscan";
40 changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}";
41 license = with licenses; [ mpl20 ];
42 maintainers = with maintainers; [ fab ];
43 };
44}