2017-01-04 08:24:56 -08:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "packer";
|
2019-10-07 09:29:58 -07:00
|
|
|
version = "1.4.4";
|
2014-05-13 16:19:41 -07:00
|
|
|
|
2017-10-04 18:27:37 -07:00
|
|
|
goPackagePath = "github.com/hashicorp/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 {
|
2017-10-04 18:27:37 -07:00
|
|
|
owner = "hashicorp";
|
2017-01-04 08:24:56 -08:00
|
|
|
repo = "packer";
|
|
|
|
rev = "v${version}";
|
2019-10-07 09:29:58 -07:00
|
|
|
sha256 = "00il85qbj5yadm5l5bczv7awmaazn9k3v3i0wsd6dbwpjga6snw9";
|
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";
|
2017-08-22 11:50:04 -07:00
|
|
|
homepage = https://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;
|
|
|
|
};
|
|
|
|
}
|