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
33
pkgs/development/python-modules/libagent/default.nix
Normal file
33
pkgs/development/python-modules/libagent/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic
|
||||
, unidecode, mock, pytest , backports-shutil-which, configargparse
|
||||
, python-daemon, pymsgbox, pynacl }:
|
||||
|
||||
# XXX: when changing this package, please test the package onlykey-agent.
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libagent";
|
||||
version = "0.14.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "romanz";
|
||||
repo = "trezor-agent";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ unidecode backports-shutil-which configargparse
|
||||
python-daemon pymsgbox ecdsa ed25519 mnemonic semver pynacl ];
|
||||
|
||||
checkInputs = [ mock pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test libagent/tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Using hardware wallets as SSH/GPG agent";
|
||||
homepage = "https://github.com/romanz/trezor-agent";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ np ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue