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