diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-05 17:19:16 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-05-05 17:19:16 +0200 |
commit | 05cfbf0a55261ab711a385876ee057a0eb3586f5 (patch) | |
tree | 21ce304a57e5d4cffae7b00882c30d0eb27c644e /pkgs/tools/security | |
parent | cbe587c735b734405f56803e267820ee1559e6c1 (diff) |
python310Packages.whispers: build as package
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/whispers/default.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/pkgs/tools/security/whispers/default.nix b/pkgs/tools/security/whispers/default.nix deleted file mode 100644 index 07c1f1e707e40..0000000000000 --- a/pkgs/tools/security/whispers/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "whispers"; - version = "1.5.3"; - - src = fetchFromGitHub { - owner = "Skyscanner"; - repo = pname; - rev = version; - sha256 = "sha256-jruUGyoZCyMu015QKtlvfx5WRMfxo/eYUue9wUIWb6o="; - }; - - propagatedBuildInputs = with python3.pkgs; [ - astroid - beautifulsoup4 - jproperties - luhn - lxml - python-Levenshtein - pyyaml - ]; - - checkInputs = with python3.pkgs; [ - pytest-mock - pytestCheckHook - ]; - - postPatch = '' - substituteInPlace setup.py \ - --replace '"pytest-runner"' "" - ''; - - preCheck = '' - # Some tests need the binary available in PATH - export PATH=$out/bin:$PATH - ''; - - pythonImportsCheck = [ - "whispers" - ]; - - meta = with lib; { - description = "Tool to identify hardcoded secrets in static structured text"; - homepage = "https://github.com/Skyscanner/whispers"; - license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ fab ]; - }; -} |