incus-unwrapped: 0.2 -> 0.3

This commit is contained in:
Adam Stephens 2023-11-27 08:26:13 -05:00
parent f82ab72973
commit 2fb50aab69
No known key found for this signature in database

View File

@ -16,16 +16,16 @@
buildGoModule rec {
pname = "incus-unwrapped";
version = "0.2";
version = "0.3.0";
src = fetchFromGitHub {
owner = "lxc";
repo = "incus";
rev = "refs/tags/incus-${version}";
hash = "sha256-WhprzGzTeB8sEMMTYN5j1Zrwg0GiGLlXTqCkcPq0XVo=";
rev = "refs/tags/v${version}";
hash = "sha256-oPBrIN4XUc9GnBszEWAAnEcNahV4hfB48XSKvkpq5Kk=";
};
vendorHash = "sha256-4fxQHtvRULTyKJTGdo42qwWQUSIWqbqOO1Wf8daBP/s=";
vendorHash = "sha256-TwrHWjBd6Hn7CQMxFhHobopeefCvYeDz8fAPYmTKV9M=";
postPatch = ''
substituteInPlace internal/usbid/load.go \
@ -36,6 +36,7 @@ buildGoModule rec {
"cmd/incus-agent"
"cmd/incus-migrate"
"cmd/lxd-to-incus"
"test/mini-oidc"
];
nativeBuildInputs = [
@ -84,7 +85,7 @@ buildGoModule rec {
updateScript = nix-update-script {
extraArgs = [
"-vr" "incus-\(.*\)"
"-vr" "v\(.*\)"
];
};
};