depot/nix/pkgs/crane.nix

20 lines
423 B
Nix
Raw Normal View History

2020-10-04 01:33:44 +00:00
# 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;
}