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