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