mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
badkeys: init at 0.0.10 (#311128)
This commit is contained in:
parent
acb262f8cc
commit
fe3a605c4b
45
pkgs/by-name/ba/badkeys/package.nix
Normal file
45
pkgs/by-name/ba/badkeys/package.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "badkeys";
|
||||
version = "0.0.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "badkeys";
|
||||
repo = "badkeys";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4vIPOKU/R+wASEx4OQHjtP6mJSKJDtPgQB968vuT24Y=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
cryptography
|
||||
gmpy2
|
||||
];
|
||||
|
||||
optional-dependencies = with python3Packages; [
|
||||
dnspython
|
||||
paramiko
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "badkeys" ];
|
||||
|
||||
meta = {
|
||||
description = "Tool to find common vulnerabilities in cryptographic public keys";
|
||||
homepage = "https://badkeys.info/";
|
||||
changelog = "https://github.com/badkeys/badkeys/releases/tag/${src.rev}";
|
||||
mainProgram = "badkeys";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user