uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/tools/security/onlykey-cli/default.nix
Normal file
34
pkgs/tools/security/onlykey-cli/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "onlykey-cli";
|
||||
version = "1.2.9";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "onlykey";
|
||||
sha256 = "sha256-92CzDZgtmww0eABtjeBo6HNQ00sijWakjXLPJiOXY/A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
aenum
|
||||
cython
|
||||
ecdsa
|
||||
hidapi
|
||||
onlykey-solo-python
|
||||
prompt-toolkit
|
||||
pynacl
|
||||
six
|
||||
];
|
||||
|
||||
# Requires having the physical onlykey (a usb security key)
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "onlykey.cli" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OnlyKey client and command-line tool";
|
||||
homepage = "https://github.com/trustcrypto/python-onlykey";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ranfdev ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue