forked from mirrors/nixpkgs
rkt: init at 0.8.0
This commit is contained in:
parent
9d5508d85c
commit
9d0efe846e
33
pkgs/applications/virtualization/rkt/default.nix
Normal file
33
pkgs/applications/virtualization/rkt/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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 = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12506,6 +12506,8 @@ let
|
|||
|
||||
RhythmDelay = callPackage ../applications/audio/RhythmDelay { };
|
||||
|
||||
rkt = callPackage ../applications/virtualization/rkt { };
|
||||
|
||||
rofi = callPackage ../applications/misc/rofi {
|
||||
automake = automake114x;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue