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

37 lines
725 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, click-plugins
, colorama
, requests
, setuptools
, XlsxWriter
}:
buildPythonPackage rec {
pname = "shodan";
version = "1.21.0";
src = fetchPypi {
inherit pname version;
sha256 = "eab999bca9d3b30e6fc549e609194ff2d6fac3caea252414e1d8d735efab8342";
};
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 ];
};
}