mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
38 lines
725 B
Nix
38 lines
725 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, click-plugins
|
|
, colorama
|
|
, requests
|
|
, setuptools
|
|
, XlsxWriter
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "shodan";
|
|
version = "1.19.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "76b8a3ba577a62799e3ea86410aea54e1f403ef6efbf681a3f38baa2bf4e1c58";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|