Merge pull request #73583 from marsam/add-pack

buildpack: init at 0.5.0
This commit is contained in:
Mario Rodas 2019-11-18 19:32:09 -05:00 committed by GitHub
commit f7076d3726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ 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 ];
};
}

View file

@ -1253,6 +1253,8 @@ in
asciidoc = asciidoc-full;
};
buildpack = callPackage ../development/tools/buildpack { };
buildtorrent = callPackage ../tools/misc/buildtorrent { };
bustle = haskellPackages.bustle;