3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #182216 from saschagrunert/crun

crun: 1.4.5 -> 1.5
This commit is contained in:
adisbladis 2022-07-21 03:47:20 +08:00 committed by GitHub
commit fd728eccb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,25 +39,16 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "crun"; pname = "crun";
version = "1.4.5"; version = "1.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-YXbyGUY/E8odjljDok+yYyU8yZSyUFc22zumrUuuXXQ="; sha256 = "sha256-eirCENgt25VRPub7c9cxYQ1uFxYbzm75cJ1v4r6O/+k=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
patches = [
# Should dropped in next release after 1.4.5
(fetchpatch {
name = "usrbin-paths.patch";
url = "https://github.com/containers/crun/commit/dd29f7f7f713c49784ac30f7cdca33b2ef94d5b8.patch";
sha256 = "sha256-kHHix8CUL+c8HbOe5qx4PeF1P19113U4bRZyleMUjqk=";
})
];
nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ]; nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ];
buildInputs = [ libcap libseccomp systemd yajl ] buildInputs = [ libcap libseccomp systemd yajl ]