forked from mirrors/nixpkgs
Merge pull request #150277 from fabaff/ghdorker
ghdorker: init at 0.3.2
This commit is contained in:
commit
56231f2481
40
pkgs/development/python-modules/fastcore/default.nix
Normal file
40
pkgs/development/python-modules/fastcore/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastcore";
|
||||
version = "1.3.27";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastai";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ogCNDh18FHP9KY0q0BIbsjPH5vGGioGh4FFUUb3c3Jc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fastcore"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for Fast AI";
|
||||
homepage = "https://github.com/fastai/fastcore";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
42
pkgs/development/python-modules/ghapi/default.nix
Normal file
42
pkgs/development/python-modules/ghapi/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, fastcore
|
||||
, packaging
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ghapi";
|
||||
version = "0.1.19";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastai";
|
||||
repo = "ghapi";
|
||||
rev = version;
|
||||
sha256 = "sha256-UV2cfotRad9jg/X3pOysKJyMi4/XKt24kf6F4aw4vcI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fastcore
|
||||
packaging
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ghapi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to GitHub's API";
|
||||
homepage = "https://github.com/fastai/ghapi";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
35
pkgs/tools/security/ghdorker/default.nix
Normal file
35
pkgs/tools/security/ghdorker/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ghdorker";
|
||||
version = "0.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
ghapi
|
||||
glom
|
||||
python-dotenv
|
||||
pyyaml
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"GHDorker"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensible GitHub dorking tool";
|
||||
homepage = "https://github.com/dtaivpp/ghdorker";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3080,6 +3080,8 @@ with pkgs;
|
|||
|
||||
gh-ost = callPackage ../tools/misc/gh-ost { };
|
||||
|
||||
ghdorker = callPackage ../tools/security/ghdorker { };
|
||||
|
||||
ghidra-bin = callPackage ../tools/security/ghidra { };
|
||||
|
||||
gif-for-cli = callPackage ../tools/misc/gif-for-cli { };
|
||||
|
|
|
@ -2680,6 +2680,8 @@ in {
|
|||
|
||||
fastcache = callPackage ../development/python-modules/fastcache { };
|
||||
|
||||
fastcore = callPackage ../development/python-modules/fastcore { };
|
||||
|
||||
fastdiff = callPackage ../development/python-modules/fastdiff { };
|
||||
|
||||
fastdtw = callPackage ../development/python-modules/fastdtw { };
|
||||
|
@ -3144,6 +3146,8 @@ in {
|
|||
|
||||
gflags = callPackage ../development/python-modules/gflags { };
|
||||
|
||||
ghapi = callPackage ../development/python-modules/ghapi { };
|
||||
|
||||
ghdiff = callPackage ../development/python-modules/ghdiff { };
|
||||
|
||||
ghp-import = callPackage ../development/python-modules/ghp-import { };
|
||||
|
|
Loading…
Reference in a new issue