Merge pull request #233101 from fabaff/tell-me-your-secrets

tell-me-your-secrets: init at 2.4.2

authored by Fabian Affolter and committed by GitHub fe9fc389 9789e1b8

+141
+37
pkgs/development/python-modules/gitignore-parser/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , unittestCheckHook 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "gitignore-parser"; 10 + version = "0.1.2"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "mherrmann"; 17 + repo = "gitignore_parser"; 18 + rev = "refs/tags/v${version}"; 19 + hash = "sha256-F1ZQQ33naOO7KNuSdlo0JN8i50lLty+eGSJAzVJL730="; 20 + }; 21 + 22 + nativeCheckInputs = [ 23 + unittestCheckHook 24 + ]; 25 + 26 + pythonImportsCheck = [ 27 + "gitignore_parser" 28 + ]; 29 + 30 + meta = with lib; { 31 + description = "A spec-compliant gitignore parser"; 32 + homepage = "https://github.com/mherrmann/gitignore_parser"; 33 + changelog = "https://github.com/mherrmann/gitignore_parser/releases/tag/v${version}"; 34 + license = licenses.mit; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+49
pkgs/development/python-modules/single-source/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , importlib-metadata 5 + , poetry-core 6 + , pytest-mock 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "single-source"; 13 + version = "0.3.0"; 14 + format = "pyproject"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "rabbit72"; 20 + repo = "single-source"; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-bhfMRIeJUd5JhN2tPww7fdbmHQ7ypcsZrYSa55v0+W8="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + poetry-core 27 + ]; 28 + 29 + propagatedBuildInputs = [ 30 + importlib-metadata 31 + ]; 32 + 33 + nativeCheckInputs = [ 34 + pytest-mock 35 + pytestCheckHook 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "single_source" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Access to the project version in Python code for PEP 621-style projects"; 44 + homepage = "https://github.com/rabbit72/single-source"; 45 + changelog = "https://github.com/rabbit72/single-source/releases/tag/v${version}"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ ]; 48 + }; 49 + }
+49
pkgs/tools/security/tell-me-your-secrets/default.nix
··· 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "tell-me-your-secrets"; 8 + version = "2.4.2"; 9 + format = "pyproject"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "valayDave"; 13 + repo = "tell-me-your-secrets"; 14 + rev = "refs/tags/v${version}"; 15 + hash = "sha256-3ZJyL/V1dsW6F+PiEhnWpv/Pz2H9/UKSJWDgw68M/Z8="; 16 + }; 17 + 18 + pythonRelaxDeps = [ 19 + "gitignore-parser" 20 + ]; 21 + 22 + nativeBuildInputs = with python3.pkgs; [ 23 + poetry-core 24 + pythonRelaxDepsHook 25 + ]; 26 + 27 + propagatedBuildInputs = with python3.pkgs; [ 28 + gitignore-parser 29 + pandas 30 + pyyaml 31 + single-source 32 + ]; 33 + 34 + nativeCheckInputs = with python3.pkgs; [ 35 + pytestCheckHook 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "tell_me_your_secrets" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Tools to find secrets from various signatures"; 44 + homepage = "https://github.com/valayDave/tell-me-your-secrets"; 45 + changelog = "https://github.com/valayDave/tell-me-your-secrets/blob/${version}/CHANGELOG.md"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+2
pkgs/top-level/all-packages.nix
··· 39646 39646 39647 39647 tcat = callPackage ../tools/misc/tcat { }; 39648 39648 39649 + tell-me-your-secrets = callPackage ../tools/security/tell-me-your-secrets { }; 39650 + 39649 39651 tellico = libsForQt5.callPackage ../applications/misc/tellico { }; 39650 39652 39651 39653 termpdfpy = python3Packages.callPackage ../applications/misc/termpdf.py { };
+4
pkgs/top-level/python-packages.nix
··· 4058 4058 4059 4059 github3_py = callPackage ../development/python-modules/github3_py { }; 4060 4060 4061 + gitignore-parser = callPackage ../development/python-modules/gitignore-parser { }; 4062 + 4061 4063 gitpython = callPackage ../development/python-modules/gitpython { }; 4062 4064 4063 4065 glad = callPackage ../development/python-modules/glad { }; ··· 11084 11086 simpful = callPackage ../development/python-modules/simpful { }; 11085 11087 11086 11088 simpy = callPackage ../development/python-modules/simpy { }; 11089 + 11090 + single-source = callPackage ../development/python-modules/single-source { }; 11087 11091 11088 11092 single-version = callPackage ../development/python-modules/single-version { }; 11089 11093