mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
commit
c784a303da
31
pkgs/development/tools/dockfmt/default.nix
Normal file
31
pkgs/development/tools/dockfmt/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user