git.iko.soy/typeable/nixpkgs
on master help sign in
python310Packages.ledgerblue: disable on older Python releases
commit09785263d193065c8427e937b8499feb3d0fa2ce authorFabian Affolter <mail@fabian-affolter.ch> dateFri 8 Apr 2022, 13:06 (5 years ago) parent16fe3fb
1 file changed+28−5
pkgs/development/python-modules/ledgerblue/default.nix+28−5
pkgs/development/python-modules/ledgerblue/default.nix+28−5
@@ -1,25 +1,48 @@
1−{ lib, fetchPypi, buildPythonPackage, hidapi
2−, pycrypto, pillow, protobuf, future, ecpy, python-u2flib-host, pycryptodomex
1+{ lib
2+, buildPythonPackage
3+, ecpy
4+, fetchPypi
5+, future
6+, hidapi
7+, pillow
8+, protobuf
9+, pycrypto
10+, pycryptodomex
11+, pythonOlder
12+, python-u2flib-host
313, websocket-client
414}:
515
616buildPythonPackage rec {
717 pname = "ledgerblue";
818 version = "0.1.42";
19+ format = "setuptools";
20+
21+ disabled = pythonOlder "3.7";
922
1023 src = fetchPypi {
1124 inherit pname version;
12− sha256 = "sha256-UNquetZ1sCLO9T5p5b3jTSu+52xuc5XdyHNKsvvPdck=";
25+ hash = "sha256-UNquetZ1sCLO9T5p5b3jTSu+52xuc5XdyHNKsvvPdck=";
1326 };
1427
1528 propagatedBuildInputs = [
16− hidapi pycrypto pillow protobuf future ecpy python-u2flib-host pycryptodomex websocket-client
29+ ecpy
30+ future
31+ hidapi
32+ pillow
33+ protobuf
34+ pycrypto
35+ pycryptodomex
36+ python-u2flib-host
37+ websocket-client
1738 ];
1839
1940 # No tests
2041 doCheck = false;
2142
22− pythonImportsCheck = [ "ledgerblue" ];
43+ pythonImportsCheck = [
44+ "ledgerblue"
45+ ];
2346
2447 meta = with lib; {
2548 description = "Python library to communicate with Ledger Blue/Nano S";