at 18.03-beta 24 lines 692 B view raw
1{ stdenv, buildGoPackage, fetchFromGitHub }: 2buildGoPackage rec { 3 name = "packer-${version}"; 4 version = "1.2.0"; 5 6 goPackagePath = "github.com/hashicorp/packer"; 7 8 subPackages = [ "." ]; 9 10 src = fetchFromGitHub { 11 owner = "hashicorp"; 12 repo = "packer"; 13 rev = "v${version}"; 14 sha256 = "05qsyh6d4qsvabr543ggd4b09fipxzr270cawsx0glmkgw82nkzi"; 15 }; 16 17 meta = with stdenv.lib; { 18 description = "A tool for creating identical machine images for multiple platforms from a single source configuration"; 19 homepage = https://www.packer.io; 20 license = licenses.mpl20; 21 maintainers = with maintainers; [ cstrahan zimbatm ]; 22 platforms = platforms.unix; 23 }; 24}