nixpkgs/pkgs/development/python-modules/shodan/default.nix

38 lines
713 B
Nix
Raw Normal View History

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