home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7181b50533511c08c725dddbb2efa1c242ed8636
parent bbbd09a2e4750ba2b48be60f043431b47e40b6fa
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  3 Dec 2020 17:14:39 +0100

pkgs: add manifest-tool (master)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mflake.nix | 2++
Mpkgs/default.nix | 1+
Apkgs/manifest-tool/default.nix | 28++++++++++++++++++++++++++++
3 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -148,6 +148,8 @@ openshift-install_4_6 openshift-install ; + + manifest-tool = pkgs.callPackage ./pkgs/manifest-tool { }; }); # defaultPackage.x86_64-linux = self.packages.x86_64-linux.hello; diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -111,6 +111,7 @@ rec { tkn ; tkn_oci = pkgs.callPackage ./tkn-oci { }; + manifest-tool = pkgs.callPackage ./manifest-tool { }; # Upstream buildkit = pkgs.callPackage ./buildkit { }; diff --git a/pkgs/manifest-tool/default.nix b/pkgs/manifest-tool/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + name = "manifest-tool-${version}"; + version = "unstable-2020-10-26"; + #rev = "v${version}"; + rev = "bae5531170d45955c2d72d1b29d77ce1b0c9dedb"; + + goPackagePath = "github.com/estep/manifest-tool"; + subPackages = [ "cmd/manifest-tool" ]; + + src = fetchFromGitHub { + inherit rev; + owner = "estesp"; + repo = "manifest-tool"; + sha256 = "066ls7sxacfy236c9kjbhhqsmpbiy8wx4ishyw6nxi4n5zvzs3kl"; + }; + # vendorSha256 = "1sjahs7a06vsnzfbwgzh6wdqwlcgpq5w4zkhf711ws4njipkmhhh"; + vendorSha256 = null; + + meta = { + description = ""; + homepage = "https://github.com/estesp/manifest-tool"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ vdemeester ]; + }; + +}