uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
45
pkgs/tools/security/aiodnsbrute/default.nix
Normal file
45
pkgs/tools/security/aiodnsbrute/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, aiodns
|
||||
, click
|
||||
, tqdm
|
||||
, uvloop
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "aiodnsbrute";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blark";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
|
||||
};
|
||||
|
||||
# https://github.com/blark/aiodnsbrute/pull/8
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py --replace " 'asyncio', " ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
click
|
||||
tqdm
|
||||
uvloop
|
||||
];
|
||||
|
||||
# no tests present
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aiodnsbrute.cli" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "DNS brute force utility";
|
||||
homepage = "https://github.com/blark/aiodnsbrute";
|
||||
# https://github.com/blark/aiodnsbrute/issues/5
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue