Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.trezor: 0.11.3 -> 0.11.4 and pythonPackages.shamir-mnemonic: init at 0.1.0 #65683

Merged
merged 2 commits into from
Jul 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/shamir-mnemonic/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, click, colorama }:

buildPythonPackage rec {
pname = "shamir-mnemonic";
version = "0.1.0";
1000101 marked this conversation as resolved.
Show resolved Hide resolved

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" ];
};
}
11 changes: 6 additions & 5 deletions pkgs/development/python-modules/trezor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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" ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down