evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / socialscan / default.nix
blobc0b4541e7373baa8e7ca67960c69215e1baa5b47
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   colorama,
7   pythonOlder,
8   tqdm,
9 }:
11 buildPythonPackage rec {
12   pname = "socialscan";
13   version = "2.0.1";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "iojw";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
23   };
25   propagatedBuildInputs = [
26     aiohttp
27     colorama
28     tqdm
29   ];
31   # Tests require network access
32   doCheck = false;
34   pythonImportsCheck = [ "socialscan" ];
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   };