-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.ledgerwallet: init at 0.1.2 (#104506)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
- Loading branch information
1 parent
d1d1772
commit 3ef8d3e
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ stdenv | ||
, fetchFromGitHub | ||
, buildPythonPackage | ||
, cryptography | ||
, click | ||
, construct | ||
, ecdsa | ||
, hidapi | ||
, intelhex | ||
, pillow | ||
, protobuf | ||
, requests | ||
, tabulate | ||
, AppKit | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "ledgerwallet"; | ||
version = "0.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "LedgerHQ"; | ||
repo = "ledgerctl"; | ||
rev = "v${version}"; | ||
sha256 = "0fb93h2wxm9as9rsywlgz2ng4wrlbjphn6mgbhj6nls2i86rrdxk"; | ||
}; | ||
|
||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit ]; | ||
propagatedBuildInputs = [ | ||
cryptography click construct ecdsa hidapi intelhex pillow protobuf requests tabulate | ||
]; | ||
|
||
pythonImportsCheck = [ "ledgerwallet" ]; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = "https://github.com/LedgerHQ/ledgerctl"; | ||
description = "A library to control Ledger devices"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ xwvvvvwx ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters