imgcrypt: init at 1.1.1

This commit is contained in:
Mark Vainomaa 2021-05-24 14:05:07 +03:00 committed by Jonathan Ringer
parent f830b000fc
commit 2980b1c4f4
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "imgcrypt";
version = "1.1.1";
src = fetchFromGitHub {
owner = "containerd";
repo = pname;
rev = "v${version}";
sha256 = "177fs3p2xzwjsffcxqqllx6wi6ghfyqbvfgn95v3q7a2993yqk4k";
};
buildFlagsArray = [
"-ldflags=-X github.com/containerd/containerd/version.Version=${version}"
];
vendorSha256 = null;
subPackages = [ "cmd/ctd-decoder" "cmd/ctr" ];
postFixup = ''
mv $out/bin/ctr $out/bin/ctr-enc
'';
meta = with lib; {
description = "Image encryption library and command line tool";
homepage = "https://github.com/containerd/imgcrypt";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ mikroskeem ];
};
}

View File

@ -1571,6 +1571,8 @@ in
imgpatchtools = callPackage ../development/mobile/imgpatchtools { };
imgcrypt = callPackage ../applications/virtualization/imgcrypt { };
ipgrep = callPackage ../tools/networking/ipgrep { };
lastpass-cli = callPackage ../tools/security/lastpass-cli { };