summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/rust/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py
index 59e827f67d..82ccc3fa52 100644
--- a/var/spack/repos/builtin/packages/rust/package.py
+++ b/var/spack/repos/builtin/packages/rust/package.py
@@ -18,6 +18,7 @@ class Rust(Package):
homepage = "https://www.rust-lang.org"
url = "https://static.rust-lang.org/dist/rustc-1.42.0-src.tar.gz"
+ git = "https://github.com/rust-lang/rust.git"
maintainers = ["AndrewGaspar"]
@@ -55,8 +56,11 @@ class Rust(Package):
description='Install Rust source files'
)
- depends_on('cmake', type='build')
- depends_on('python@:2.8', type='build')
+ depends_on('python@2.7:', type='build')
+ depends_on('python@2.7:2.8', when='@:1.43', type='build')
+ depends_on('gmake@3.81:', type='build')
+ depends_on('cmake@3.4.3:', type='build')
+ depends_on('pkgconfig', type='build')
depends_on('openssl')
depends_on('libssh2')
depends_on('libgit2')