nixpkgs/pkgs/development/python-modules/shodan/default.nix
2020-01-22 13:37:27 -08:00

38 lines
713 B
Nix

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