depot/nix/pkgs/crane.nix

19 lines
423 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, ... }:
pkgs.buildGoModule rec {
pname = "crane";
version = "0.1.3";
src = pkgs.fetchFromGitHub {
owner = "google";
repo = "go-containerregistry";
rev = "v${version}";
sha256 = "1mc58qxr0kvl9g2agri4bb0bj9yxb8hypyvxnspymqm1pcvfl3cn";
};
vendorSha256 = null;
doCheck = false;
}