diffoci: init at 0.1.1

This commit is contained in:
06kellyjac 2023-08-25 14:51:28 +01:00
parent 5f139d8cd6
commit a7502f315b
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "diffoci";
version = "0.1.1";
src = fetchFromGitHub {
owner = "reproducible-containers";
repo = "diffoci";
rev = "v${version}";
hash = "sha256-xmsfqlp/bosCjT83MXkA7uNlPgGYlKXOdnxVhm648zo=";
};
vendorHash = "sha256-w3/Je8iIT6CEusfIfGv9TAWkePY5TtOQS0rQYH92sAs=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Diff for Docker and OCI container images";
homepage = "https://github.com/reproducible-containers/diffoci/";
license = licenses.asl20;
maintainers = with maintainers; [ jk ];
};
}

View file

@ -7374,6 +7374,10 @@ with pkgs;
diction = callPackage ../tools/text/diction { };
diffoci = callPackage ../tools/misc/diffoci {
buildGoModule = buildGo121Module;
};
diffoscope = callPackage ../tools/misc/diffoscope {
jdk = jdk8;
};