mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
38 lines
705 B
Nix
38 lines
705 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ghdorker";
|
|
version = "0.3.2";
|
|
format = "setuptools";
|
|
|
|
src = 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";
|
|
mainProgram = "ghdorker";
|
|
homepage = "https://github.com/dtaivpp/ghdorker";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|