python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / package-management / nfpm / default.nix
blobaec7a05f2695e7deab906a6eb768b8d86e2f8a1d
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "nfpm";
5   version = "2.21.0";
7   src = fetchFromGitHub {
8     owner = "goreleaser";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-WjvgRveSoDgOvGHy3jnIq2InKi1NaPiuorufrsSsp5k=";
12   };
14   vendorSha256 = "sha256-EbA4ljsSessyGJLw9BfJ4wulAcXQeLOXk4f6KVu9mIY=";
16   ldflags = [ "-s" "-w" "-X main.version=${version}" ];
18   meta = with lib; {
19     description = "A simple deb and rpm packager written in Go";
20     homepage = "https://github.com/goreleaser/nfpm";
21     maintainers = with maintainers; [ marsam techknowlogick ];
22     license = with licenses; [ mit ];
23   };