nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchPypi,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "ghdorker";
9 version = "0.3.2";
10 pyproject = true;
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU=";
15 };
16
17 build-system = with python3.pkgs; [
18 setuptools
19 ];
20
21 dependencies = with python3.pkgs; [
22 ghapi
23 glom
24 python-dotenv
25 pyyaml
26 ];
27
28 # Project has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "GHDorker"
33 ];
34
35 meta = {
36 description = "Extensible GitHub dorking tool";
37 mainProgram = "ghdorker";
38 homepage = "https://github.com/dtaivpp/ghdorker";
39 license = with lib.licenses; [ asl20 ];
40 maintainers = with lib.maintainers; [ fab ];
41 };
42}