summary refs log tree commit diff
path: root/pkgs/development/tools/packer/default.nix
blob: e1b52102907bfdb46cfd695770085be26423dd1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
  name = "packer-${version}";
  version = "1.0.3";

  goPackagePath = "github.com/mitchellh/packer";

  subPackages = [ "." ];

  src = fetchFromGitHub {
    owner = "mitchellh";
    repo = "packer";
    rev = "v${version}";
    sha256 = "1bd0rv93pxlv58c0x1d4dsjq4pg5qwrm2p7qw83pca7izlncgvfr";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    description = "A tool for creating identical machine images for multiple platforms from a single source configuration";
    homepage    = http://www.packer.io;
    license     = licenses.mpl20;
    maintainers = with maintainers; [ cstrahan zimbatm ];
    platforms   = platforms.unix;
  };
}