pythonPackages.trezor: move expression to trezor/default.nix

This commit is contained in:
rnhmjoj 2017-05-31 22:40:14 +02:00
parent b236fa54aa
commit 93ff334d6d
No known key found for this signature in database
GPG Key ID: 362BB82B7E496B7C
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
{ lib, fetchurl, buildPythonPackage, protobuf3_0, hidapi, ecdsa, mnemonic }:
{ lib, fetchPypi, buildPythonPackage, protobuf3_0, hidapi, ecdsa, mnemonic }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "trezor";
version = "0.7.13";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
src = fetchPypi {
inherit pname version;
sha256 = "d05f388bb56b6f61cc727999cc725078575238a0b6172450322bc55c437fefe5";
};

View File

@ -29638,7 +29638,7 @@ EOF
ecpy = callPackage ../development/python-modules/ecpy { };
trezor = callPackage ../development/python-modules/trezor.nix { };
trezor = callPackage ../development/python-modules/trezor { };
semver = buildPythonPackage rec {
name = "semver-${version}";