qusal/salt/electrum/install.sls

69 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-01-31 10:53:04 -05:00
{#
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
2024-01-31 10:53:04 -05:00
"{{ slsdotpath }}-installed":
pkg.installed:
- require:
- pkg: "{{ slsdotpath }}-remove-distro-package"
- pkg: "{{ slsdotpath }}-updated"
2024-01-31 10:53:04 -05:00
- 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.
2024-01-31 10:53:04 -05:00
- 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
2024-01-31 10:53:04 -05:00
{% endif -%}