diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-09-12 17:23:14 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-09-12 17:23:14 +0800 |
commit | 5f649b2a10e7bb40607fe98cee67a499ea227ef6 (patch) | |
tree | daacb1e675734f805f26efd74eafae78013a8346 /pkgs/applications/virtualization/crun | |
parent | e19054ab3cd5b7cc9a01d0efc71c8fe310541065 (diff) |
crun: init at 0.8
Diffstat (limited to 'pkgs/applications/virtualization/crun')
-rw-r--r-- | pkgs/applications/virtualization/crun/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/crun/default.nix b/pkgs/applications/virtualization/crun/default.nix new file mode 100644 index 000000000000..7dddc3b533b4 --- /dev/null +++ b/pkgs/applications/virtualization/crun/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, fetchFromGitHub, autoreconfHook, go-md2man, pkgconfig +, libcap, libseccomp, python3, systemd, yajl }: + +stdenv.mkDerivation rec { + pname = "crun"; + version = "0.8"; + + src = fetchFromGitHub { + owner = "containers"; + repo = pname; + rev = version; + sha256 = "1anvlgw373031w0pp0b28l10yrnyhbj192n60bbbjahw487dk2fi"; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ autoreconfHook go-md2man pkgconfig python3 ]; + + buildInputs = [ libcap libseccomp systemd yajl ]; + + enableParallelBuilding = true; + + # the tests require additional permissions + doCheck = false; + + meta = with lib; { + description = "A fast and lightweight fully featured OCI runtime and C library for running containers"; + license = licenses.gpl3; + platforms = platforms.linux; + inherit (src.meta) homepage; + }; +} |