mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Merge pull request #73583 from marsam/add-pack
buildpack: init at 0.5.0
This commit is contained in:
commit
f7076d3726
26
pkgs/development/tools/buildpack/default.nix
Normal file
26
pkgs/development/tools/buildpack/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1253,6 +1253,8 @@ in
|
|||||||
asciidoc = asciidoc-full;
|
asciidoc = asciidoc-full;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildpack = callPackage ../development/tools/buildpack { };
|
||||||
|
|
||||||
buildtorrent = callPackage ../tools/misc/buildtorrent { };
|
buildtorrent = callPackage ../tools/misc/buildtorrent { };
|
||||||
|
|
||||||
bustle = haskellPackages.bustle;
|
bustle = haskellPackages.bustle;
|
||||||
|
Loading…
Reference in New Issue
Block a user