blob: db9cd3c1f8ca7c7c2507fa9d2be3c244b718b348 (
plain) (
blame)
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
42
43
44
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, colorama
, pythonOlder
, tqdm
}:
buildPythonPackage rec {
pname = "socialscan";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iojw";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-jiyTcpJ00DvfweChawj1ugdCVHHAdwDbHEp9jivH7gs=";
};
propagatedBuildInputs = [
aiohttp
colorama
tqdm
];
# Tests require network access
doCheck = false;
pythonImportsCheck = [
"socialscan"
];
meta = with lib; {
description = "Python library and CLI for accurately querying username and email usage on online platforms";
homepage = "https://github.com/iojw/socialscan";
changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ fab ];
};
}
|