diff --git a/pkgs/applications/virtualization/rkt/default.nix b/pkgs/applications/virtualization/rkt/default.nix new file mode 100644 index 00000000000..0b3300e2026 --- /dev/null +++ b/pkgs/applications/virtualization/rkt/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 53578f8783c..91ab805f12b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12627,6 +12627,8 @@ let RhythmDelay = callPackage ../applications/audio/RhythmDelay { }; + rkt = callPackage ../applications/virtualization/rkt { }; + rofi = callPackage ../applications/misc/rofi { automake = automake114x; };