Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 715 B view raw
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.23.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "16rkbhdj7al7p8s1pfsjx9agxpvisbvyvcd04rm1kigpz87p9c1i"; 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 31 meta = with lib; { 32 description = "Python library and command-line utility for Shodan"; 33 homepage = "https://github.com/achillean/shodan-python"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ lihop ]; 36 }; 37}