pythonPackages.trezor: move expression to trezor/default.nix
This commit is contained in:
parent
b236fa54aa
commit
93ff334d6d
@ -1,12 +1,12 @@
|
|||||||
{ lib, fetchurl, buildPythonPackage, protobuf3_0, hidapi, ecdsa, mnemonic }:
|
{ lib, fetchPypi, buildPythonPackage, protobuf3_0, hidapi, ecdsa, mnemonic }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
pname = "trezor";
|
pname = "trezor";
|
||||||
version = "0.7.13";
|
version = "0.7.13";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/t/${pname}/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "d05f388bb56b6f61cc727999cc725078575238a0b6172450322bc55c437fefe5";
|
sha256 = "d05f388bb56b6f61cc727999cc725078575238a0b6172450322bc55c437fefe5";
|
||||||
};
|
};
|
||||||
|
|
@ -29638,7 +29638,7 @@ EOF
|
|||||||
|
|
||||||
ecpy = callPackage ../development/python-modules/ecpy { };
|
ecpy = callPackage ../development/python-modules/ecpy { };
|
||||||
|
|
||||||
trezor = callPackage ../development/python-modules/trezor.nix { };
|
trezor = callPackage ../development/python-modules/trezor { };
|
||||||
|
|
||||||
semver = buildPythonPackage rec {
|
semver = buildPythonPackage rec {
|
||||||
name = "semver-${version}";
|
name = "semver-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user