mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
electrum: 4.8.0 -> 4.8.1
https://github.com/spesmilo/electrum/blob/4.8.1/RELEASE-NOTES Diff: https://github.com/spesmilo/electrum/compare/4.8.0...4.8.1
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
enablePythonEcdsa ? false,
|
||||
callPackage,
|
||||
qtwayland,
|
||||
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -22,17 +24,15 @@ let
|
||||
in
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "electrum";
|
||||
version = "4.8.0";
|
||||
version = "4.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.electrum.org/${finalAttrs.version}/Electrum-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-z14bzs81eJNTMSWSBLTyCmsljDNztG54SVkoTcSqvsM=";
|
||||
hash = "sha256-71t/YdLItZg6D5yFFVbjpveKncIv5hG7pJxu67a9/b4=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.pythonRelaxDepsHook
|
||||
@@ -90,11 +90,9 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
"protobuf"
|
||||
];
|
||||
|
||||
checkInputs =
|
||||
with python3.pkgs;
|
||||
lib.optionals enableQt [
|
||||
pyqt6
|
||||
];
|
||||
checkInputs = lib.optionals enableQt [
|
||||
python3.pkgs.pyqt6
|
||||
];
|
||||
disabledTestPaths = lib.optionals (!enableQt) [
|
||||
"tests/test_qml_types.py"
|
||||
];
|
||||
@@ -132,14 +130,15 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pytestCheckHook
|
||||
pyaes
|
||||
pycryptodomex
|
||||
|
||||
# avoid homeless-shelter error in tests
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
enabledTestPaths = [ "tests" ];
|
||||
|
||||
# avoid homeless-shelter error in tests
|
||||
preCheck = ''
|
||||
export PYTHONPATH=${python3.pkgs.protobuf}/${python3.sitePackages}:$PYTHONPATH
|
||||
export HOME="$(mktemp -d)"
|
||||
'';
|
||||
|
||||
postCheck = ''
|
||||
|
||||
Reference in New Issue
Block a user