Merge pull request #136568 from cpcloud/dockfmt

dockfmt: init at 0.3.3
This commit is contained in:
Fabian Affolter 2021-09-04 10:33:33 +02:00 committed by GitHub
commit c784a303da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "dockfmt";
version = "0.3.3";
src = fetchFromGitHub {
owner = "jessfraz";
repo = "dockfmt";
rev = "v${version}";
sha256 = "0m56ydmf7zbcsa5yym7j5fgr75v677h9s40zyzwrqccyq01myp06";
};
vendorSha256 = null;
ldflags = [
"-w"
"-s"
"-X github.com/jessfraz/dockfmt/version.VERSION=${version}"
];
meta = with lib; {
description = "Dockerfile format";
homepage = "https://github.com/jessfraz/dockfmt";
license = [ licenses.mit ];
maintainers = [ maintainers.cpcloud ];
};
}

View File

@ -24025,6 +24025,8 @@ with pkgs;
docker-distribution = callPackage ../applications/virtualization/docker/distribution.nix { };
dockfmt = callPackage ../development/tools/dockfmt { };
afterburn = callPackage ../tools/admin/afterburn {};
docker-buildx = callPackage ../applications/virtualization/docker/buildx.nix { };