1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/applications/virtualization/rkt/default.nix
2015-08-26 18:55:22 +02:00

34 lines
839 B
Nix

{ stdenv, lib, autoconf, automake, go, file, git, wget, gnupg1, squashfsTools, cpio
, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.8.0";
name = "rkt-${version}";
src = fetchFromGitHub {
rev = "v${version}";
owner = "coreos";
repo = "rkt";
sha256 = "1abv9psd5w0m8p2kvrwyjnrclzajmrpbwfwmkgpnkydhmsimhnn0";
};
buildInputs = [ autoconf automake go file git wget gnupg1 squashfsTools cpio ];
preConfigure = ''
./autogen.sh
'';
installPhase = ''
mkdir -p $out/bin
cp -Rv build-rkt-${version}/bin/* $out/bin
'';
meta = with lib; {
description = "A fast, composable, and secure App Container runtime for Linux";
homepage = http://rkt.io;
license = licenses.asl20;
maintainers = with maintainers; [ ragge ];
platforms = [ "x86_64-linux" ];
};
}