Merge pull request #65683 from 1000101/python-modules/shamir-mnemonic

pythonPackages.trezor: 0.11.3 -> 0.11.4 and  pythonPackages.shamir-mnemonic: init at 0.1.0
This commit is contained in:
Marek Mahut 2019-07-31 22:40:19 +02:00 committed by GitHub
commit 9fe0552e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 5 deletions

View file

@ -0,0 +1,22 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:
buildPythonPackage rec {
pname = "shamir-mnemonic";
version = "0.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1cc08d276e05b13cd32bd3b0c5d1cb6c30254e0086e0f6857ec106d4cceff121";
};
propagatedBuildInputs = [ click colorama ];
meta = {
description = "Reference implementation of SLIP-0039";
homepage = "https://github.com/trezor/python-shamir-mnemonic";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ "1000101" ];
};
}

View file

@ -10,20 +10,21 @@
, construct
, libusb1
, rlp
, shamir-mnemonic
}:
buildPythonPackage rec {
pname = "trezor";
version = "0.11.3";
version = "0.11.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "c79a500e90d003073c8060d319dceb042caaba9472f13990c77ed37d04a82108";
sha256 = "aeb3f56a4c389495617f27bf218471b7969f636d25ddc491dfefeb8a1b3cd499";
};
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp ];
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ];
# build requires UTF-8 locale
LANG = "en_US.UTF-8";
@ -41,8 +42,8 @@ buildPythonPackage rec {
meta = {
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
homepage = https://github.com/trezor/python-trezor;
homepage = "https://github.com/trezor/trezor-firmware/tree/master/python";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ np prusnak mmahut ];
maintainers = with lib.maintainers; [ np prusnak mmahut "1000101" ];
};
}

View file

@ -4716,6 +4716,8 @@ in {
simplegeneric = callPackage ../development/python-modules/simplegeneric { };
shamir-mnemonic = callPackage ../development/python-modules/shamir-mnemonic { };
shodan = callPackage ../development/python-modules/shodan { };
should-dsl = callPackage ../development/python-modules/should-dsl { };