crun: 0.18 -> 0.19

https://github.com/containers/crun/releases/tag/0.19
This commit is contained in:
zowoq 2021-04-03 05:44:57 +10:00
parent 6590636885
commit 286a6ca9ab

View file

@ -12,7 +12,6 @@
, nixosTests
, criu
, system
, fetchpatch
}:
let
@ -29,6 +28,7 @@ let
"test_pid_file.py"
"test_preserve_fds.py"
"test_resources"
"test_seccomp"
"test_start.py"
"test_uid_gid.py"
"test_update.py"
@ -38,24 +38,16 @@ let
in
stdenv.mkDerivation rec {
pname = "crun";
version = "0.18";
version = "0.19";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = version;
sha256 = "sha256-VjMpfj2qUQdhqdnLpZsYigfo2sM7gNl0GrE4nitp13g=";
sha256 = "sha256-G9asWedX03cP5Qg5HIzlSIwwqNL16kiyWairk+6Kabw=";
fetchSubmodules = true;
};
patches = [
# For 0.18 some tests switched to static builds, this was reverted after 0.18 was released
(fetchpatch {
url = "https://github.com/containers/crun/commit/d26579bfe56aa36dd522745d47a661ce8c70d4e7.patch";
sha256 = "1xmc0wj0j2xcg0915vxn0pplc4s94rpmw0s5g8cyf8dshfl283f9";
})
];
nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ];
buildInputs = [ libcap libseccomp systemd yajl ]