python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / dockfmt / default.nix
blobd637b8ca3e5127d6dff78a3236e9ee07bddc7c57
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "dockfmt";
8   version = "0.3.3";
10   src = fetchFromGitHub {
11     owner = "jessfraz";
12     repo = "dockfmt";
13     rev = "v${version}";
14     sha256 = "0m56ydmf7zbcsa5yym7j5fgr75v677h9s40zyzwrqccyq01myp06";
15   };
17   vendorSha256 = null;
19   ldflags = [
20     "-w"
21     "-s"
22     "-X github.com/jessfraz/dockfmt/version.VERSION=${version}"
23   ];
25   meta = with lib; {
26     description = "Dockerfile format";
27     homepage = "https://github.com/jessfraz/dockfmt";
28     license = [ licenses.mit ];
29     maintainers = [ maintainers.cpcloud ];
30   };