nix/pkgs: add crane

This commit is contained in:
Luke Granger-Brown 2020-10-04 02:33:44 +01:00
parent c384c31248
commit d0e40e4a6b
2 changed files with 20 additions and 0 deletions

19
nix/pkgs/crane.nix Normal file
View file

@ -0,0 +1,19 @@
# 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;
}

View file

@ -4,6 +4,7 @@
args: { args: {
bazel-run = import ./bazel-run.nix args; bazel-run = import ./bazel-run.nix args;
crane = import ./crane.nix args;
javaws-env = import ./javaws-env.nix args; javaws-env = import ./javaws-env.nix args;
plex-pass = import ./plex-pass.nix args; plex-pass = import ./plex-pass.nix args;
secretsync = import ./secretsync args; secretsync = import ./secretsync args;