Merge pull request #179733 from prusnak/python-trezor

python3Packages.trezor: 0.13.0 -> 0.13.2
This commit is contained in:
Pavol Rusnak 2022-06-30 20:46:04 +02:00 committed by GitHub
commit 245e681f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 4 deletions

View file

@ -0,0 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "simple-rlp";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "5c4a9c58f1b742f7fa8af0fe4ea6ff9fb02294ae041912f771570dfaf339d2b9";
};
pythonImportsCheck = [ "rlp" ];
meta = with lib; {
description = "Simple RLP (Recursive Length Prefix)";
homepage = "https://github.com/SamuelHaidu/simple-rlp";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}

View file

@ -15,8 +15,8 @@
, protobuf , protobuf
, pyblake2 , pyblake2
, requests , requests
, rlp
, shamir-mnemonic , shamir-mnemonic
, simple-rlp
, typing-extensions , typing-extensions
, trezor-udev-rules , trezor-udev-rules
, pytestCheckHook , pytestCheckHook
@ -24,13 +24,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "trezor"; pname = "trezor";
version = "0.13.0"; version = "0.13.2";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "4571aa09dbfe88b31eb2f16c7c359b4809621b75a04b7b5bc9dbffe17046c99a"; sha256 = "cdb696fd01dad6a0cb23b61ea3a4867bb51cecda5cb2a77366fb6a53bff58ac4";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -47,8 +47,8 @@ buildPythonPackage rec {
protobuf protobuf
pyblake2 pyblake2
requests requests
rlp
shamir-mnemonic shamir-mnemonic
simple-rlp
typing-extensions typing-extensions
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
trezor-udev-rules trezor-udev-rules

View file

@ -9738,6 +9738,8 @@ in {
simple-rest-client = callPackage ../development/python-modules/simple-rest-client { }; simple-rest-client = callPackage ../development/python-modules/simple-rest-client { };
simple-rlp = callPackage ../development/python-modules/simple-rlp { };
simple-salesforce = callPackage ../development/python-modules/simple-salesforce { }; simple-salesforce = callPackage ../development/python-modules/simple-salesforce { };
simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { }; simple-websocket-server = callPackage ../development/python-modules/simple-websocket-server { };