16 buildPythonPackage rec {
17 pname = "detect-secrets";
19 format = "setuptools";
21 disabled = pythonOlder "3.7";
23 src = fetchFromGitHub {
27 hash = "sha256-6EmL6XPySqcA3EA+FFkfw7Dkxl5LvyBorIw0hesV5eU=";
31 propagatedBuildInputs = [
47 export HOME=$(mktemp -d);
51 # Tests are failing for various reasons. Needs to be adjusted with the next update
53 "test_handles_each_path_separately"
54 "test_handles_multiple_directories"
55 "test_load_and_output"
57 "test_restores_line_numbers"
58 "test_saves_to_baseline"
63 pythonImportsCheck = [
68 description = "An enterprise friendly way of detecting and preventing secrets in code";
69 homepage = "https://github.com/Yelp/detect-secrets";
70 license = licenses.asl20;
71 maintainers = with maintainers; [ ];