stacs: 0.2.0 -> 0.5.1

Diff: https://github.com/stacscan/stacs/compare/0.2.0...0.5.1

natsukium 9c070c95 63dd26ed

+26 -10
+26 -10
pkgs/by-name/st/stacs/package.nix
··· 2 lib, 3 fetchFromGitHub, 4 python3, 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "stacs"; 9 - version = "0.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "stacscan"; 13 repo = "stacs"; 14 - rev = version; 15 - sha256 = "00ZYdpJktqUXdzPcouHyZcOQyFm7jdFNVuDqsufOviE="; 16 }; 17 18 - nativeBuildInputs = with python3.pkgs; [ 19 - setupmeta 20 ]; 21 22 - propagatedBuildInputs = with python3.pkgs; [ 23 click 24 pydantic_1 25 - typing-extensions 26 yara-python 27 ]; 28 29 nativeCheckInputs = with python3.pkgs; [ 30 pytestCheckHook 31 ]; 32 ··· 34 "stacs" 35 ]; 36 37 - meta = with lib; { 38 description = "Static token and credential scanner"; 39 mainProgram = "stacs"; 40 homepage = "https://github.com/stacscan/stacs"; 41 - license = with licenses; [ bsd3 ]; 42 - maintainers = with maintainers; [ fab ]; 43 }; 44 }
··· 2 lib, 3 fetchFromGitHub, 4 python3, 5 + libarchive, 6 }: 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "stacs"; 10 + version = "0.5.1"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "stacscan"; 15 repo = "stacs"; 16 + tag = version; 17 + hash = "sha256-u0yFzId5RAOnJfTDPRUc8E624zIWyCDe3/WlrJ5iuxA="; 18 }; 19 20 + # remove upstream workaround for darwin 21 + postPatch = '' 22 + substituteInPlace setup.py \ 23 + --replace-fail 'if platform.system() == "Darwin":' "if False:" 24 + ''; 25 + 26 + buildInputs = [ libarchive ]; 27 + 28 + build-system = with python3.pkgs; [ 29 + pybind11 30 + setuptools 31 + setuptools-scm 32 ]; 33 34 + dependencies = with python3.pkgs; [ 35 click 36 + colorama 37 pydantic_1 38 yara-python 39 + zstandard 40 ]; 41 42 + pythonRelaxDeps = [ "yara-python" ]; 43 + 44 nativeCheckInputs = with python3.pkgs; [ 45 + pytest-cov-stub 46 pytestCheckHook 47 ]; 48 ··· 50 "stacs" 51 ]; 52 53 + meta = { 54 description = "Static token and credential scanner"; 55 mainProgram = "stacs"; 56 homepage = "https://github.com/stacscan/stacs"; 57 + license = with lib.licenses; [ bsd3 ]; 58 + maintainers = with lib.maintainers; [ fab ]; 59 }; 60 }