name: sluice
version: git
version-script: |
    echo $(git describe --tags)
summary: rate limiting data piping tool
description: Sluice reads from standard input and write to standard output at a specified data rate.  This can be useful for benchmarking and exercising I/O streaming at desired throughput rates.
confinement: strict
type: app
grade: stable

parts:
    sluice:
        plugin: make
        source: git://kernel.ubuntu.com/cking/sluice
        build-packages:
            - gcc
            - make

apps:
    sluice:
        command: usr/bin/sluice

