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

world-serpant-search: init at 1.2.1
This commit is contained in:
Fabian Affolter 2024-03-31 11:28:37 +02:00 committed by GitHub
commit cfdef3532f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,39 @@
{ 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";
};
}