Merge pull request #147604 from fabaff/socialscan
python3Packages.socialscan: init at 1.4.2
This commit is contained in:
commit
e39e0221fe
3 changed files with 47 additions and 0 deletions
43
pkgs/development/python-modules/socialscan/default.nix
Normal file
43
pkgs/development/python-modules/socialscan/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -28313,6 +28313,8 @@ with pkgs;
|
|||
|
||||
soci = callPackage ../development/libraries/soci { };
|
||||
|
||||
socialscan = with python3.pkgs; toPythonApplication socialscan;
|
||||
|
||||
sonic-lineup = libsForQt5.callPackage ../applications/audio/sonic-lineup { };
|
||||
|
||||
sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { };
|
||||
|
|
|
@ -8795,6 +8795,8 @@ in {
|
|||
usePython = true;
|
||||
});
|
||||
|
||||
socialscan = callPackage ../development/python-modules/socialscan { };
|
||||
|
||||
sockjs = callPackage ../development/python-modules/sockjs { };
|
||||
|
||||
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
|
||||
|
|
Loading…
Reference in a new issue