mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
electrum: implement a simple checkPhase
Verify that we can at least run the help command without import errors.
This commit is contained in:
parent
0273ff59e2
commit
3c11b5d91f
|
@ -55,6 +55,11 @@ pythonPackages.buildPythonApplication rec {
|
|||
pyrcc4 icons.qrc -o gui/qt/icons_rc.py
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
$out/bin/electrum help >/dev/null
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bitcoin thin-client";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue