depot/third_party/nixpkgs/pkgs/development/python-modules/socialscan/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

44 lines
953 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
colorama,
pythonOlder,
tqdm,
}:
buildPythonPackage rec {
pname = "socialscan";
version = "2.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "iojw";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
};
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";
mainProgram = "socialscan";
homepage = "https://github.com/iojw/socialscan";
changelog = "https://github.com/iojw/socialscan/releases/tag/v${version}";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ fab ];
};
}