Merge pull request #234263 from adamcstephens/lxd/5.14

lxd: 5.13 -> 5.14
This commit is contained in:
Mario Rodas 2023-05-27 16:19:42 -05:00 committed by GitHub
commit 7bdafdd1c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,18 +28,19 @@
, bash
, installShellFiles
, nixosTests
, gitUpdater
}:
buildGoModule rec {
pname = "lxd";
version = "5.13";
version = "5.14";
src = fetchurl {
urls = [
"https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
"https://github.com/lxc/lxd/releases/download/lxd-${version}/lxd-${version}.tar.gz"
];
hash = "sha256-kys8zfqhkpJqq4ICg6dOsoJEoxJ209GwdjGRrfrZ7j0=";
hash = "sha256-EtVZ0g9LD6dWA70/E1Ad/RWJjbvrAzU2hF3n6CdTMBE=";
};
vendorHash = null;
@ -98,6 +99,10 @@ buildGoModule rec {
passthru.tests.lxd = nixosTests.lxd;
passthru.tests.lxd-nftables = nixosTests.lxd-nftables;
passthru.updateScript = gitUpdater {
url = "https://github.com/lxc/lxd.git";
rev-prefix = "lxd-";
};
meta = with lib; {
description = "Daemon based on liblxc offering a REST API to manage containers";