Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 901 Bytes
name: snapstore-example
version: 0.3
confinement: strict
summary: Minimalist example snap store
description: |
snapstore is a minimalist example of a "store" for snaps, based on the public
API specs (https://wiki.ubuntu.com/AppStore/Interfaces/ClickPackageIndex). It
allows anyone to host their own collection of snaps for installation on
supported platforms.
See http://snapcraft.io for more information on creating and using snap
packages.
apps:
snapstore:
command: store-wrapper.sh
daemon: simple
plugs: [network, network-bind]
parts:
# Setup the python2 environment and grab the dependencies
prerequisites:
plugin: python2
requirements: requirements.txt
# Copy in the store executable. It's done in a separate part since there's no
# setup.py.
snapstore:
plugin: copy
files:
store.py: bin/
store-wrapper.sh: bin/
files: files