19 buildPythonPackage rec {
24 disabled = pythonOlder "3.7";
26 src = fetchFromGitHub {
29 rev = "refs/tags/${version}";
30 hash = "sha256-YPfTe2txQY/sVEIGSMTA1b3Ye3j8qT+YdWp3AVqpdLI=";
34 substituteInPlace setup.py \
35 --replace-fail '"pytest-runner"' ""
38 build-system = [ setuptools ];
57 # Some tests need the binary available in PATH
58 export PATH=$out/bin:$PATH
61 pythonImportsCheck = [ "whispers" ];
64 description = "Tool to identify hardcoded secrets in static structured text";
65 homepage = "https://github.com/adeptex/whispers";
66 changelog = "https://github.com/adeptex/whispers/releases/tag/${version}";
67 license = with licenses; [ asl20 ];
68 maintainers = with maintainers; [ fab ];
69 mainProgram = "whispers";