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

25 lines
692 B
Nix
Raw Normal View History

2017-01-04 17:24:56 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2016-05-13 10:25:01 +02:00
name = "packer-${version}";
2017-10-05 03:27:37 +02:00
version = "1.1.0";
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}";
2017-10-05 03:27:37 +02:00
sha256 = "09hwq6dxyzhpl97akwbb02bjrisz9rf296avg5zj2p5qdsf4y777";
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";
homepage = https://www.packer.io;
2014-05-14 01:19:41 +02:00
license = licenses.mpl20;
2016-05-13 10:25:01 +02:00
maintainers = with maintainers; [ cstrahan zimbatm ];
2014-05-14 01:19:41 +02:00
platforms = platforms.unix;
};
}