Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 37 lines 713 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.17.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1sh7a2dsal3kzcl4s9xbpl7hxhm9k55s5hiqdqqnafhvhnh0vmbz"; 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}