Unverified Commit 623e8888 authored by Nick Cao's avatar Nick Cao
Browse files

tell-me-your-secrets: modernize

parent a96197f9
Loading
Loading
Loading
Loading
+13 −18
Original line number Diff line number Diff line
{ 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 ];
  };
}