mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
44 lines
966 B
Nix
44 lines
966 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
colorama,
|
|
setuptools,
|
|
tqdm,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "socialscan";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iojw";
|
|
repo = "socialscan";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-4JJVhB6x1NGagtfzE03Jae2GOr25hh+4l7gQ23zc7Ck=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
colorama
|
|
tqdm
|
|
];
|
|
|
|
# Tests require network access
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "socialscan" ];
|
|
|
|
meta = {
|
|
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${finalAttrs.version}";
|
|
license = with lib.licenses; [ mpl20 ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|