summary refs log tree commit diff
path: root/pkgs/applications/virtualization
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2015-08-19 14:57:13 +0300
committerArseniy Seroka <jagajaga@users.noreply.github.com>2015-08-19 14:57:13 +0300
commitd8fc9ed20c8d96159317b9f3efd01674540e4e7f (patch)
tree64e1b28e840a82bbb88682eb1a5fc336d9b5e5c8 /pkgs/applications/virtualization
parenta47fef4d9e577e6f7526d46f4f4133f2ca16c260 (diff)
parent9d0efe846e15b951a44be434711e45aa020844ac (diff)
downloadnixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar.gz
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar.bz2
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar.lz
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar.xz
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.tar.zst
nixlib-d8fc9ed20c8d96159317b9f3efd01674540e4e7f.zip
Merge pull request #9337 from ragnard/rkt
rkt: init at 0.8.0
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r--pkgs/applications/virtualization/rkt/default.nix33
1 files changed, 33 insertions, 0 deletions
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;
+  };
+}