Merge pull request #150277 from fabaff/ghdorker

ghdorker: init at 0.3.2
This commit is contained in:
Fabian Affolter 2021-12-15 15:39:00 +01:00 committed by GitHub
commit 56231f2481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 0 deletions

View 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 ];
};
}

View 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 ];
};
}

View 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 ];
};
}

View File

@ -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 { };

View File

@ -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 { };