2023-08-25 15:51:28 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "diffoci";
|
2023-10-08 07:33:14 +02:00
|
|
|
version = "0.1.2";
|
2023-08-25 15:51:28 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "reproducible-containers";
|
|
|
|
repo = "diffoci";
|
|
|
|
rev = "v${version}";
|
2023-10-08 07:33:14 +02:00
|
|
|
hash = "sha256-Rrwwo1OCE2gn6MGt5XVddb8bJtoN7iAtxzr2MxyHcwk=";
|
2023-08-25 15:51:28 +02:00
|
|
|
};
|
|
|
|
|
2023-10-08 07:33:14 +02:00
|
|
|
vendorHash = "sha256-18rsa91PiqZv70EK3K6K1l6N2mIpoVpkX29amKCo5cg=";
|
2023-08-25 15:51:28 +02:00
|
|
|
|
|
|
|
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 ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "diffoci";
|
2023-08-25 15:51:28 +02:00
|
|
|
};
|
|
|
|
}
|