qusal/salt/electrum/install.sls
2024-02-18 17:05:30 +01:00

69 lines
1.5 KiB
Plaintext

{#
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- dev.home-cleanup
- dotfiles.copy-sh
- dotfiles.copy-x11
"{{ slsdotpath }}-updated":
pkg.uptodate:
- refresh: True
"{{ slsdotpath }}-remove-distro-package":
pkg.removed:
- pkgs:
- electrum
- python3-electrum
"{{ slsdotpath }}-installed":
pkg.installed:
- require:
- pkg: "{{ slsdotpath }}-remove-distro-package"
- pkg: "{{ slsdotpath }}-updated"
- refresh: True
- install_recommends: False
- skip_suggestions: True
- pkgs:
- socat
- man-db
## Recommends
- python3-zbar
## Unlisted dependency.
- python3-jsonpatch
## Dependencies retrieved from 'electrum' and 'python3-electrum' pkg.
- python3-pyqt5
- libjs-jquery
- libjs-jquery-ui
- libjs-jquery-ui-theme-ui-lightness
- libsecp256k1-1
- node-qrcode-generator
- python3-cryptography
- python3-distutils
- python3-aiohttp
- python3-aiohttp-socks
- python3-aiorpcx
- python3-attr
- python3-bitstring
- python3-certifi
- python3-dnspython
- python3-protobuf
- python3-qrcode
"{{ slsdotpath }}-rpc":
file.recurse:
- name: /etc/qubes-rpc/
- source: salt://{{ slsdotpath }}/files/client/rpc/
- user: root
- group: root
- file_mode: '0755'
- dir_mode: '0755'
- makedirs: True
{% endif -%}