Skip to content

Instantly share code, notes, and snippets.

@step21
Created July 25, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save step21/05b54ace25f0239d33e040e6db53fd4f to your computer and use it in GitHub Desktop.
Save step21/05b54ace25f0239d33e040e6db53fd4f to your computer and use it in GitHub Desktop.
name: ethereum
summary: An Ethereum framework for Snappy Ubuntu
description: A framework providing all the essentials needed in order to develop for and interact with the Ethereum blockchain
#Not allowed anymore
#vendor: Lefteris <lefteris@refu.co>, step21 <step21@devtal.de>
architectures: [amd64]
icon: ethereum_icon.png
#fix version
version: 0.1.5
type: app
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
#NOTES
#Now it just stores data in homedir or uses existing one there
#TODO
# Reenble ipc which prob doesn't work
apps:
geth:
command: build/bin/geth --rpc --rpccorsdomain "*"
daemon: simple
plugs: [home, network, network-bind]
parts:
#go:
# source-tag: go1.8.3
geth:
plugin: make
source-tag: master
source: https://github.com/ethereum/go-ethereum.git
build: make -j4
install: |
mkdir $SNAPCRAFT_PART_INSTALL/bin
cp -R * $SNAPCRAFT_PART_INSTALL
after: [go]
#this is go 1.7.x atm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment