mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
Merge pull request #234263 from adamcstephens/lxd/5.14
lxd: 5.13 -> 5.14
This commit is contained in:
commit
7bdafdd1c9
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user