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