-
-
Save tilpner/9ccc98695428e96db3bd064c1fadbb04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, rustPlatform, fetchFromGitHub, rustChannelOf }: | |
let | |
channel = rustChannelOf { | |
channel = "stable"; | |
date = "2019-02-28"; | |
}; | |
targets = [ "x86_64-unknown-linux-musl" "x86_64-unknown-linux-gnu" ]; | |
rustc = channel.rust.override { inherit targets; }; | |
in | |
(rustPlatform.buildRustPackage.override { | |
inherit rustc; cargo = rustc; | |
}) rec { | |
name = "firecracker-${version}"; | |
version = "0.15.0"; | |
src = fetchFromGitHub { | |
owner = "firecracker-microvm"; | |
repo = "firecracker"; | |
rev = "1fdde1997fc763601f8a88399bc426bd5d4097cd"; | |
sha256 = "1079zw0gqv3fhisfni95fzfzq267ywaz44vs66pihp220682z868"; | |
}; | |
cargoSha256 = "13sfacc850fjqg9qyicjpzzwfbhyxryxd39v3ypf1b29nd89wq0y"; | |
meta = with lib; { | |
description = "Secure, fast, minimal micro-container virtualization"; | |
homepage = http://firecracker-microvm.io; | |
license = licenses.asl20; | |
platforms = [ "x86_64-linux" ]; | |
maintainers = with maintainers; [ thoughtpolice ]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment