Unverified Commit 831d433c authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #320221 from peigongdsd/peigongdsd-update-kvmtool-fix

kvmtool: unstable-2023-07-12 -> 0-unstable-2024-04-09 
parents 5fa4d405 b1ece0f6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -15392,6 +15392,12 @@
    githubId = 920910;
    name = "peelz";
  };
  peigongdsd = {
    email = "peigong2013@outlook.com";
    github = "peigongdsd";
    githubId = 51317171;
    name = "Peilin Lee";
  };
  pelme = {
    email = "andreas@pelme.se";
    github = "pelme";
+7 −6
Original line number Diff line number Diff line
{ stdenv, fetchzip, lib, dtc }:
{ stdenv, fetchgit, lib, dtc }:

stdenv.mkDerivation {
  pname = "kvmtool";
  version = "unstable-2023-07-12";
  version = "0-unstable-2024-04-09";

  src = fetchzip {
    url = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/snapshot/kvmtool-106e2ea7756d980454d68631b87d5e25ba4e4881.tar.gz";
    hash = "sha256-wpc5DfHnui0lBVH4uOq6a7pXVUZStjNLRvauu6QpRvE=";
  src = fetchgit {
    url = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git";
    rev = "da4cfc3e540341b84c4bbad705b5a15865bc1f80";
    hash = "sha256-05tNsZauOXe1L1y1YchzvLZm3xOctPJhHCjyAyRnwy4=";
  };

  patches = [ ./strlcpy-glibc-2.38-fix.patch ];
@@ -28,7 +29,7 @@ stdenv.mkDerivation {
    description = "Lightweight tool for hosting KVM guests";
    homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/tree/README";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ astro mfrw ];
    maintainers = with maintainers; [ astro mfrw peigongdsd ];
    platforms = [ "x86_64-linux" "aarch64-linux" ];
    mainProgram = "lkvm";
  };