depot/third_party/nixpkgs/pkgs/development/python-modules/socialscan/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

43 lines
824 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, colorama
, pythonOlder
, tqdm
}:
buildPythonPackage rec {
pname = "socialscan";
version = "1.4.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iojw";
repo = pname;
rev = "v${version}";
sha256 = "rT+/j6UqDOzuNBdN3I74YIxS6qkhd7BjHCGX+gGjprc=";
};
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";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ fab ];
};
}