wasmtime: Do not prefix version with v

it seems that this breaks the use of `nix-env -i wasmtime`
This commit is contained in:
Joachim Breitner 2020-04-14 19:49:12 +02:00
parent 1ad005458f
commit acc5a9c55f

View File

@ -2,12 +2,12 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wasmtime"; pname = "wasmtime";
version = "v0.12.0"; version = "0.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bytecodealliance"; owner = "bytecodealliance";
repo = "${pname}"; repo = "${pname}";
rev = "${version}"; rev = "v${version}";
sha256 = "08dhk5s8rv41mjqbwfqwqmp6p6p9y7qc5yc76ljjd9l7j1phl7mr"; sha256 = "08dhk5s8rv41mjqbwfqwqmp6p6p9y7qc5yc76ljjd9l7j1phl7mr";
fetchSubmodules = true; fetchSubmodules = true;
}; };