Merge pull request #182682 from afreakk/update-libagent

This commit is contained in:
Pavol Rusnak 2022-08-02 19:53:23 +02:00 committed by GitHub
commit 063618d204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 7 deletions

View file

@ -0,0 +1,22 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "bech32";
version = "1.2.0";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fW24IUYDvXhx/PpsCCbvaLhbCr2Q+iHChanF4h0r2Jk=";
};
meta = with lib; {
homepage = "https://pypi.org/project/bech32/";
license = with licenses; [ mit ];
};
}

View file

@ -1,22 +1,49 @@
{ lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic { lib
, unidecode, mock, pytest , backports-shutil-which, configargparse , fetchFromGitHub
, python-daemon, pymsgbox, pynacl }: , bech32
, buildPythonPackage
, cryptography
, 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. # XXX: when changing this package, please test the package onlykey-agent.
buildPythonPackage rec { buildPythonPackage rec {
pname = "libagent"; pname = "libagent";
version = "0.14.4"; version = "0.14.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "romanz"; owner = "romanz";
repo = "trezor-agent"; repo = "trezor-agent";
rev = "v${version}"; rev = "v${version}";
sha256 = "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l"; sha256 = "sha256-RISAy0efdatr9u4CWNRGnlffkC8ksw1NyRpJWKwqz+s=";
}; };
propagatedBuildInputs = [ unidecode backports-shutil-which configargparse propagatedBuildInputs = [
python-daemon pymsgbox ecdsa ed25519 mnemonic semver pynacl ]; unidecode
backports-shutil-which
configargparse
python-daemon
pymsgbox
ecdsa
ed25519
mnemonic
semver
pynacl
bech32
cryptography
];
checkInputs = [ mock pytest ]; checkInputs = [ mock pytest ];

View file

@ -1235,6 +1235,8 @@ in {
beautifultable = callPackage ../development/python-modules/beautifultable { }; beautifultable = callPackage ../development/python-modules/beautifultable { };
bech32 = callPackage ../development/python-modules/bech32 { };
bedup = callPackage ../development/python-modules/bedup { }; bedup = callPackage ../development/python-modules/bedup { };
behave = callPackage ../development/python-modules/behave { }; behave = callPackage ../development/python-modules/behave { };