nixpkgs/pkgs/development/tools/packer/default.nix

27 lines
715 B
Nix
Raw Normal View History

2017-01-04 16:24:56 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2016-05-13 08:25:01 +00:00
name = "packer-${version}";
2017-08-01 00:13:54 +00:00
version = "1.0.3";
2014-05-13 23:19:41 +00:00
2017-01-04 16:24:56 +00:00
goPackagePath = "github.com/mitchellh/packer";
2016-05-13 08:25:01 +00:00
2017-01-04 16:24:56 +00:00
subPackages = [ "." ];
2016-05-13 08:25:01 +00:00
2017-01-04 16:24:56 +00:00
src = fetchFromGitHub {
owner = "mitchellh";
repo = "packer";
rev = "v${version}";
2017-08-01 00:13:54 +00:00
sha256 = "1bd0rv93pxlv58c0x1d4dsjq4pg5qwrm2p7qw83pca7izlncgvfr";
2017-01-04 16:24:56 +00:00
};
2014-05-13 23:19:41 +00:00
2017-08-03 16:48:04 +00:00
goDeps = ./deps.nix;
2014-05-13 23:19:41 +00:00
meta = with stdenv.lib; {
description = "A tool for creating identical machine images for multiple platforms from a single source configuration";
2016-05-13 08:25:01 +00:00
homepage = http://www.packer.io;
2014-05-13 23:19:41 +00:00
license = licenses.mpl20;
2016-05-13 08:25:01 +00:00
maintainers = with maintainers; [ cstrahan zimbatm ];
2014-05-13 23:19:41 +00:00
platforms = platforms.unix;
};
}