forked from mirrors/nixpkgs
Merge pull request #102674 from ranfdev/onlykey-cli
This commit is contained in:
commit
e1f445cb26
|
@ -7333,6 +7333,12 @@
|
|||
githubId = 14829269;
|
||||
name = "Ram Kromberg";
|
||||
};
|
||||
ranfdev = {
|
||||
email = "ranfdev@gmail.com";
|
||||
name = "Lorenzo Miglietta";
|
||||
github = "ranfdev";
|
||||
githubId = 23294184;
|
||||
};
|
||||
rardiol = {
|
||||
email = "ricardo.ardissone@gmail.com";
|
||||
github = "rardiol";
|
||||
|
|
24
pkgs/tools/security/onlykey-cli/default.nix
Normal file
24
pkgs/tools/security/onlykey-cli/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "onlykey-cli";
|
||||
version = "1.2.2";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "onlykey";
|
||||
sha256 = "1qkbgab5xlg7bd0jfzf8k5ppb1zhib76r050fiaqi5wibrqrfwdi";
|
||||
};
|
||||
|
||||
# Requires having the physical onlykey (a usb security key)
|
||||
doCheck = false;
|
||||
propagatedBuildInputs =
|
||||
with python3Packages; [ hidapi aenum six prompt_toolkit pynacl ecdsa cython ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OnlyKey client and command-line tool";
|
||||
homepage = "https://github.com/trustcrypto/python-onlykey";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ranfdev ];
|
||||
};
|
||||
}
|
|
@ -6263,6 +6263,8 @@ in
|
|||
|
||||
onioncircuits = callPackage ../tools/security/onioncircuits { };
|
||||
|
||||
onlykey-cli = callPackage ../tools/security/onlykey-cli { };
|
||||
|
||||
openapi-generator-cli = callPackage ../tools/networking/openapi-generator-cli { };
|
||||
openapi-generator-cli-unstable = callPackage ../tools/networking/openapi-generator-cli/unstable.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue