Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 35 lines 685 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, click-plugins 5, colorama 6, requests 7, XlsxWriter 8}: 9 10buildPythonPackage rec { 11 pname = "shodan"; 12 version = "1.10.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "13966vqxww7v2b5hf2kjismdzvqyjvxlcdvpkzpbsrpxy9pvn2n4"; 17 }; 18 19 propagatedBuildInputs = [ 20 click-plugins 21 colorama 22 requests 23 XlsxWriter 24 ]; 25 26 # The tests require a shodan api key, so skip them. 27 doCheck = false; 28 29 meta = with lib; { 30 description = "Python library and command-line utility for Shodan"; 31 homepage = https://github.com/achillean/shodan-python; 32 license = licenses.mit; 33 maintainers = with maintainers; [ lihop ]; 34 }; 35}