depot/nix/pkgs/crane.nix

20 lines
428 B
Nix
Raw Permalink 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}";
2021-05-22 00:40:18 +00:00
sha256 = "sha256:07q4fjkjxn2qbqvj2him7p7rw1309yhc0mnlpnvfb2m9ias0infy";
2020-10-04 01:33:44 +00:00
};
vendorHash = null;
2020-10-04 01:33:44 +00:00
doCheck = false;
}