summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/rust-bindgen/package.py
blob: a2164f11c56cf848c6e5be19ee6d1c4abb731295 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from spack import *
import os


class RustBindgen(Package):
    """The rust programming language toolchain"""
    homepage = "http://www.rust-lang.org"
    url = "https://github.com/crabtw/rust-bindgen"

    version('0.16', tag='0.16', git='https://github.com/crabtw/rust-bindgen')

    extends("rust")

    def install(self, spec, prefix):
        cargo('install', '--root', prefix)