nixpkgs/pkgs/development/python-modules/shodan/default.nix
2019-12-30 16:46:55 +01:00

38 lines
725 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, click-plugins
, colorama
, requests
, setuptools
, XlsxWriter
}:
buildPythonPackage rec {
pname = "shodan";
version = "1.21.1";
src = fetchPypi {
inherit pname version;
sha256 = "834dfd084fed290b2b445545b0d1cac7822f3c0ed6ba09707efb1716bb485ede";
};
propagatedBuildInputs = [
click-plugins
colorama
requests
setuptools
XlsxWriter
];
# The tests require a shodan api key, so skip them.
doCheck = false;
meta = with lib; {
description = "Python library and command-line utility for Shodan";
homepage = https://github.com/achillean/shodan-python;
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};
}