@@ -289,6 +289,8 @@ in {
289289
290290 plantuml = callPackage ../tools/misc/plantuml { };
291291
292+ pyaes = callPackage ../development/python-modules/pyaes.nix { };
293+
292294 pyatspi = if isPy3k then callPackage ../development/python-modules/pyatspi { } else throw "pyatspi not supported for interpreter ${python.executable}";
293295
294296 pycairo = callPackage ../development/python-modules/pycairo { };
@@ -30780,48 +30782,9 @@ EOF
3078030782 };
3078130783 };
3078230784
30783− mnemonic = buildPythonPackage rec{
30784− version = "0.12";
30785− name = "mnemonic-${version}";
30786−
30787− src = pkgs.fetchurl {
30788− url = "mirror://pypi/m/mnemonic/${name}.tar.gz";
30789− sha256 = "0j5jm4v54135qqw455fw4ix2mhxhzjqvxji9gqkpxagk31cvbnj4";
30790− };
30791−
30792− propagatedBuildInputs = with self; [ pbkdf2 ];
30793−
30794− meta = {
30795− description = "Implementation of Bitcoin BIP-0039";
30796− homepage = https://github.com/trezor/python-mnemonic;
30797− license = licenses.mit;
30798− maintainers = with maintainers; [ np ];
30799− };
30800− };
30801−
30802− trezor = buildPythonPackage rec{
30803− version = "0.7.4";
30804− name = "trezor-${version}";
30805−
30806− src = pkgs.fetchurl {
30807− url = "mirror://pypi/t/trezor/${name}.tar.gz";
30808− sha256 = "18nr76jkdg24sb3r8cfbiq12b95gnh0amc0r1wx9mmg3pwq6jx6y";
30809− };
30810−
30811− propagatedBuildInputs = with self; [ protobuf3_0 hidapi ];
30812−
30813− buildInputs = with self; [ ecdsa mnemonic ];
30785+ mnemonic = callPackage ../development/python-modules/mnemonic.nix { };
3081430786
30815− # There are no actual tests: "ImportError: No module named tests"
30816− doCheck = false;
30817−
30818− meta = {
30819− description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
30820− homepage = https://github.com/trezor/python-trezor;
30821− license = licenses.gpl3;
30822− maintainers = with maintainers; [ np ];
30823− };
30824− };
30787+ trezor = callPackage ../development/python-modules/trezor.nix { };
3082530788
3082630789 keepkey = buildPythonPackage rec{
3082730790 version = "0.7.3";