python3Packages.trezor: 0.13.9 -> 0.13.10 (#381481)
This commit is contained in:
commit
99af4fcad0
@ -1,36 +1,31 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
isPy3k,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
attrs,
|
poetry-core,
|
||||||
click,
|
click,
|
||||||
colorama,
|
colorama,
|
||||||
pytestCheckHook,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "shamir-mnemonic";
|
pname = "shamir-mnemonic";
|
||||||
version = "0.2.2";
|
version = "0.3.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "trezor";
|
owner = "trezor";
|
||||||
repo = "python-${pname}";
|
repo = "python-${pname}";
|
||||||
rev = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-b9tBXN9dBdAeGg3xf5ZBdd6kPpFzseJl6wRTTfNZEwo=";
|
hash = "sha256-KjZbxA92h25ghbItdmPvkSPvDZUSRWkl4vnJDBMN71s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [ poetry-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
|
||||||
click
|
click
|
||||||
colorama
|
colorama
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "shamir_mnemonic" ];
|
pythonImportsCheck = [ "shamir_mnemonic" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|||||||
39
pkgs/development/python-modules/slip10/default.nix
Normal file
39
pkgs/development/python-modules/slip10/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchPypi,
|
||||||
|
poetry-core,
|
||||||
|
base58,
|
||||||
|
cryptography,
|
||||||
|
ecdsa,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "slip10";
|
||||||
|
version = "1.0.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-ArNQrlV7WReRQosXVR+V16xX6SEfN969yBTJC0oSOlQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ poetry-core ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
base58
|
||||||
|
cryptography
|
||||||
|
ecdsa
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "slip10" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Minimalistic implementation of SLIP109";
|
||||||
|
homepage = "https://github.com/trezor/python-slip10";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [
|
||||||
|
prusnak
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -6,11 +6,14 @@
|
|||||||
click,
|
click,
|
||||||
construct,
|
construct,
|
||||||
construct-classes,
|
construct-classes,
|
||||||
|
cryptography,
|
||||||
ecdsa,
|
ecdsa,
|
||||||
libusb1,
|
libusb1,
|
||||||
mnemonic,
|
mnemonic,
|
||||||
requests,
|
requests,
|
||||||
setuptools,
|
setuptools,
|
||||||
|
shamir-mnemonic,
|
||||||
|
slip10,
|
||||||
typing-extensions,
|
typing-extensions,
|
||||||
trezor-udev-rules,
|
trezor-udev-rules,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
@ -18,12 +21,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "trezor";
|
pname = "trezor";
|
||||||
version = "0.13.9";
|
version = "0.13.10";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-lFC9e7nSPl4zo8nljhjwWLRMnZw0ymZLSYGnlaqfse8=";
|
hash = "sha256-egtq5GKN0MMaXOtRJYkY2bvdOthROIg3IlgmsijuUE8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
@ -32,10 +35,13 @@ buildPythonPackage rec {
|
|||||||
click
|
click
|
||||||
construct
|
construct
|
||||||
construct-classes
|
construct-classes
|
||||||
|
cryptography
|
||||||
ecdsa
|
ecdsa
|
||||||
libusb1
|
libusb1
|
||||||
mnemonic
|
mnemonic
|
||||||
requests
|
requests
|
||||||
|
shamir-mnemonic
|
||||||
|
slip10
|
||||||
typing-extensions
|
typing-extensions
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [ trezor-udev-rules ];
|
] ++ lib.optionals stdenv.hostPlatform.isLinux [ trezor-udev-rules ];
|
||||||
|
|
||||||
|
|||||||
@ -15124,6 +15124,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
slicerator = callPackage ../development/python-modules/slicerator { };
|
slicerator = callPackage ../development/python-modules/slicerator { };
|
||||||
|
|
||||||
|
slip10 = callPackage ../development/python-modules/slip10 { };
|
||||||
|
|
||||||
slither-analyzer = callPackage ../development/python-modules/slither-analyzer { };
|
slither-analyzer = callPackage ../development/python-modules/slither-analyzer { };
|
||||||
|
|
||||||
slimit = callPackage ../development/python-modules/slimit { };
|
slimit = callPackage ../development/python-modules/slimit { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user