mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "tell-me-your-secrets";
|
|
version = "2.4.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "valayDave";
|
|
repo = "tell-me-your-secrets";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-3ZJyL/V1dsW6F+PiEhnWpv/Pz2H9/UKSJWDgw68M/Z8=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"gitignore-parser"
|
|
];
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
poetry-core
|
|
pythonRelaxDepsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
gitignore-parser
|
|
pandas
|
|
pyyaml
|
|
single-source
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"tell_me_your_secrets"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tools to find secrets from various signatures";
|
|
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 ];
|
|
};
|
|
}
|