depot/nix/pkgs/crane.nix

19 lines
428 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 = "sha256:07q4fjkjxn2qbqvj2him7p7rw1309yhc0mnlpnvfb2m9ias0infy";
};
vendorHash = null;
doCheck = false;
}