diffoci: init at 0.1.1
This commit is contained in:
parent
5f139d8cd6
commit
a7502f315b
27
pkgs/tools/misc/diffoci/default.nix
Normal file
27
pkgs/tools/misc/diffoci/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue