My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/tools/buildpack/default.nix

27 lines
672 B

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "pack";
version = "0.6.0";
src = fetchFromGitHub {
owner = "buildpacks";
repo = pname;
rev = "v${version}";
sha256 = "00v4kb9cv6nn7vrybjkv0kgcvfm5dsg0168dv253mrp9xmv8kd9l";
};
goPackagePath = "github.com/buildpacks/pack";
subPackages = [ "cmd/pack" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/buildpacks/pack/cmd.Version=${version}" ];
meta = with lib; {
homepage = "https://buildpacks.io/";
description = "Local CLI for building apps using Cloud Native Buildpacks";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}