From 9d0efe846e15b951a44be434711e45aa020844ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ragnar=20Dahl=C3=A9n?= Date: Wed, 19 Aug 2015 11:04:34 +0100 Subject: [PATCH] rkt: init at 0.8.0 --- .../virtualization/rkt/default.nix | 33 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/applications/virtualization/rkt/default.nix diff --git a/pkgs/applications/virtualization/rkt/default.nix b/pkgs/applications/virtualization/rkt/default.nix new file mode 100644 index 000000000000..0b3300e2026e --- /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 7889e5c334d8..ed4b1e5b8a6c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12506,6 +12506,8 @@ let RhythmDelay = callPackage ../applications/audio/RhythmDelay { }; + rkt = callPackage ../applications/virtualization/rkt { }; + rofi = callPackage ../applications/misc/rofi { automake = automake114x; };