mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
crun: 0.17 -> 0.18
https://github.com/containers/crun/releases/tag/0.18
This commit is contained in:
parent
694721374b
commit
71a28ca2c1
|
@ -12,6 +12,7 @@
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, criu
|
, criu
|
||||||
, system
|
, system
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -37,16 +38,24 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crun";
|
pname = "crun";
|
||||||
version = "0.17";
|
version = "0.18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-OdB7UXLG99ErbfSCvq87LxBy5EYkUvTfyQNG70RFbl4=";
|
sha256 = "sha256-VjMpfj2qUQdhqdnLpZsYigfo2sM7gNl0GrE4nitp13g=";
|
||||||
fetchSubmodules = true;
|
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 ];
|
nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ];
|
||||||
|
|
||||||
buildInputs = [ libcap libseccomp systemd yajl ]
|
buildInputs = [ libcap libseccomp systemd yajl ]
|
||||||
|
|
Loading…
Reference in a new issue