tell-me-your-secrets: modernize

This commit is contained in:
Nick Cao 2024-07-29 15:58:37 -04:00
parent a96197f98e
commit 623e888801
No known key found for this signature in database

View File

@ -1,9 +1,10 @@
{ lib
, python3
, fetchFromGitHub
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "tell-me-your-secrets";
version = "2.4.2";
pyproject = true;
@ -16,35 +17,29 @@ python3.pkgs.buildPythonApplication rec {
};
pythonRelaxDeps = [
"gitignore-parser"
"pandas"
"single-source"
];
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
build-system = with python3Packages; [ poetry-core ];
propagatedBuildInputs = with python3.pkgs; [
dependencies = with python3Packages; [
gitignore-parser
pandas
pyyaml
single-source
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
pythonImportsCheck = [
"tell_me_your_secrets"
];
pythonImportsCheck = [ "tell_me_your_secrets" ];
meta = with lib; {
meta = {
description = "Tools to find secrets from various signatures";
mainProgram = "tell-me-your-secrets";
homepage = "https://github.com/valayDave/tell-me-your-secrets";
changelog = "https://github.com/valayDave/tell-me-your-secrets/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}