1{ lib 2, fetchPypi 3, buildPythonPackage 4, click-plugins 5, colorama 6, requests 7, setuptools 8, XlsxWriter 9}: 10 11buildPythonPackage rec { 12 pname = "shodan"; 13 version = "1.25.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-fivdvBtgv2IAQtABD0t2KoC0MRHb6pwEHXLUMl4mDCM="; 18 }; 19 20 propagatedBuildInputs = [ 21 click-plugins 22 colorama 23 requests 24 setuptools 25 XlsxWriter 26 ]; 27 28 # The tests require a shodan api key, so skip them. 29 doCheck = false; 30 pythonImportsCheck = [ "shodan" ]; 31 32 meta = with lib; { 33 description = "Python library and command-line utility for Shodan"; 34 homepage = "https://github.com/achillean/shodan-python"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ lihop ]; 37 }; 38}