1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/admin/lxd/default.nix

30 lines
732 B
Nix
Raw Normal View History

2016-06-06 01:28:52 +01:00
{ stdenv, lib, pkgconfig, lxc, buildGoPackage, fetchFromGitHub }:
2016-06-03 14:55:03 +01:00
buildGoPackage rec {
name = "lxd-${version}";
2017-07-31 23:57:08 +01:00
version = "2.16";
2016-06-03 14:55:03 +01:00
rev = "lxd-${version}";
goPackagePath = "github.com/lxc/lxd";
src = fetchFromGitHub {
inherit rev;
owner = "lxc";
repo = "lxd";
2017-07-31 23:57:08 +01:00
sha256 = "0i2mq9m8k9kznwz1i0xb48plp1ffpzvbdrvqvagis4sm17yab3fn";
2016-06-03 14:55:03 +01:00
};
goDeps = ./deps.nix;
2016-06-03 14:55:03 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ lxc ];
meta = with stdenv.lib; {
description = "Daemon based on liblxc offering a REST API to manage containers";
2017-06-20 01:02:54 +01:00
homepage = https://linuxcontainers.org/lxd/;
2016-06-03 14:55:03 +01:00
license = licenses.asl20;
maintainers = with maintainers; [ globin fpletz ];
platforms = platforms.linux;
};
}