2017-01-04 17:24:56 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "packer";
|
2020-10-31 15:49:52 +01:00
|
|
|
version = "1.6.5";
|
2014-05-14 01:19:41 +02:00
|
|
|
|
2017-10-05 03:27:37 +02:00
|
|
|
goPackagePath = "github.com/hashicorp/packer";
|
2016-05-13 10:25:01 +02:00
|
|
|
|
2017-01-04 17:24:56 +01:00
|
|
|
subPackages = [ "." ];
|
2016-05-13 10:25:01 +02:00
|
|
|
|
2017-01-04 17:24:56 +01:00
|
|
|
src = fetchFromGitHub {
|
2017-10-05 03:27:37 +02:00
|
|
|
owner = "hashicorp";
|
2017-01-04 17:24:56 +01:00
|
|
|
repo = "packer";
|
|
|
|
rev = "v${version}";
|
2020-10-31 15:49:52 +01:00
|
|
|
sha256 = "sha256-M4PZnqdU5+w/B821cs1bJYzeilqdZ93fh5PErVgqBOQ=";
|
2017-01-04 17:24:56 +01:00
|
|
|
};
|
2014-05-14 01:19:41 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tool for creating identical machine images for multiple platforms from a single source configuration";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.packer.io";
|
2014-05-14 01:19:41 +02:00
|
|
|
license = licenses.mpl20;
|
2020-06-10 22:29:13 +02:00
|
|
|
maintainers = with maintainers; [ cstrahan zimbatm ma27 ];
|
2014-05-14 01:19:41 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|