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
669 B

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "pack";
version = "0.5.0";
src = fetchFromGitHub {
owner = "buildpack";
repo = pname;
rev = "v${version}";
sha256 = "0yh62h7lz2i07gixccmfyxk607djp1nrs57rzk7nkxnjcj4jj5sr";
};
goPackagePath = "github.com/buildpack/pack";
subPackages = [ "cmd/pack" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/buildpack/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 ];
};
}