Merge pull request #147604 from fabaff/socialscan

python3Packages.socialscan: init at 1.4.2

authored by Fabian Affolter and committed by GitHub e39e0221 f53a2455

+47
+43
pkgs/development/python-modules/socialscan/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , colorama 6 + , pythonOlder 7 + , tqdm 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "socialscan"; 12 + version = "1.4.2"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "iojw"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + sha256 = "rT+/j6UqDOzuNBdN3I74YIxS6qkhd7BjHCGX+gGjprc="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + aiohttp 26 + colorama 27 + tqdm 28 + ]; 29 + 30 + # Tests require network access 31 + doCheck = false; 32 + 33 + pythonImportsCheck = [ 34 + "socialscan" 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Python library and CLI for accurately querying username and email usage on online platforms"; 39 + homepage = "https://github.com/iojw/socialscan"; 40 + license = with licenses; [ mpl20 ]; 41 + maintainers = with maintainers; [ fab ]; 42 + }; 43 + }
+2
pkgs/top-level/all-packages.nix
··· 28313 28313 28314 28314 soci = callPackage ../development/libraries/soci { }; 28315 28315 28316 + socialscan = with python3.pkgs; toPythonApplication socialscan; 28317 + 28316 28318 sonic-lineup = libsForQt5.callPackage ../applications/audio/sonic-lineup { }; 28317 28319 28318 28320 sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { };
+2
pkgs/top-level/python-packages.nix
··· 8795 8795 usePython = true; 8796 8796 }); 8797 8797 8798 + socialscan = callPackage ../development/python-modules/socialscan { }; 8799 + 8798 8800 sockjs = callPackage ../development/python-modules/sockjs { }; 8799 8801 8800 8802 sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };