lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 25.11-pre 62 lines 1.2 kB view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "deepsecrets"; 9 version = "1.0.6"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "avito-tech"; 14 repo = "deepsecrets"; 15 tag = "v${version}"; 16 hash = "sha256-VfIsPgStHcIYGbfrOs1mvgoq0ZoVSZwILFVBeMt/5Jc="; 17 }; 18 19 pythonRelaxDeps = [ 20 "pyyaml" 21 "regex" 22 "mmh3" 23 ]; 24 25 build-system = with python3.pkgs; [ 26 poetry-core 27 ]; 28 29 dependencies = with python3.pkgs; [ 30 dotwiz 31 mmh3 32 ordered-set 33 pydantic_1 34 pygments 35 pyyaml 36 regex 37 ]; 38 39 pythonImportsCheck = [ 40 "deepsecrets" 41 ]; 42 43 nativeCheckInputs = with python3.pkgs; [ 44 pytestCheckHook 45 ]; 46 47 disabledTests = [ 48 # assumes package is built in /app (docker?), and not /build/${src.name} (nix sandbox) 49 "test_1_cli" 50 "test_config" 51 "test_basic_info" 52 ]; 53 54 meta = { 55 description = "Secrets scanner that understands code"; 56 mainProgram = "deepsecrets"; 57 homepage = "https://github.com/avito-tech/deepsecrets"; 58 changelog = "https://github.com/avito-tech/deepsecrets/releases/tag/v${version}"; 59 license = lib.licenses.mit; 60 maintainers = with lib.maintainers; [ fab ]; 61 }; 62}