Unverified Commit cfdef353 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #300264 from fabaff/world-serpant-search

world-serpant-search: init at 1.2.1
parents ca6e137a 2bf5348a
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "world-serpant-search";
  version = "1.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Latrodect";
    repo = "wss-repo-vulnerability-search-manager";
    rev = "refs/tags/v${version}";
    hash = "sha256-jXTivaXHHt63u9N7w40jyLUU2kg5LxAn50PVpqwUc0M=";
  };

  build-system = with python3.pkgs; [
    setuptools
  ];

  dependencies = with python3.pkgs; [
    alive-progress
    colorlog
    requests
    termcolor
  ];

  # Project has no tests
  doCheck = false;

  meta = with lib; {
    description = "Command-line tool for vulnerability detection";
    homepage = "https://github.com/Latrodect/wss-repo-vulnerability-search-manager";
    license = licenses.mit;
    maintainers = with maintainers; [ fab];
    mainProgram = "serpant";
  };
}