Skip to content

Commit

Permalink
pythonPackages.shodan: init at 1.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lihop committed Jan 29, 2019
1 parent 7f6f22f commit 935296f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/shodan/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, fetchPypi
, buildPythonPackage
, click-plugins
, colorama
, requests
, XlsxWriter
}:

buildPythonPackage rec {
pname = "shodan";
version = "1.10.4";

src = fetchPypi {
inherit pname version;
sha256 = "13966vqxww7v2b5hf2kjismdzvqyjvxlcdvpkzpbsrpxy9pvn2n4";
};

propagatedBuildInputs = [
click-plugins
colorama
requests
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4005,6 +4005,8 @@ in {

simplegeneric = callPackage ../development/python-modules/simplegeneric { };

shodan = callPackage ../development/python-modules/shodan { };

should-dsl = callPackage ../development/python-modules/should-dsl { };

simplejson = callPackage ../development/python-modules/simplejson { };
Expand Down

0 comments on commit 935296f

Please sign in to comment.