mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
25 lines
692 B
Nix
25 lines
692 B
Nix
{ 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 ];
|
|
};
|
|
}
|