1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "diffoci";
8 version = "0.1.2";
9
10 src = fetchFromGitHub {
11 owner = "reproducible-containers";
12 repo = "diffoci";
13 rev = "v${version}";
14 hash = "sha256-Rrwwo1OCE2gn6MGt5XVddb8bJtoN7iAtxzr2MxyHcwk=";
15 };
16
17 vendorHash = "sha256-18rsa91PiqZv70EK3K6K1l6N2mIpoVpkX29amKCo5cg=";
18
19 ldflags = [ "-s" "-w" ];
20
21 meta = with lib; {
22 description = "Diff for Docker and OCI container images";
23 homepage = "https://github.com/reproducible-containers/diffoci/";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ jk ];
26 };
27}