python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / gosu / default.nix
blob80daf996b855966cc443d742292059cbfe3fa9df
1 { lib, buildGoModule, fetchFromGitHub, testers, gosu }:
3 buildGoModule rec {
4   pname = "gosu";
5   version = "1.14";
7   src = fetchFromGitHub {
8     owner = "tianon";
9     repo = "gosu";
10     rev = version;
11     sha256 = "sha256-qwoHQB37tY8Pz8CHleYZI+SGkbHG7P/vgfXVMSyqi10=";
12   };
14   vendorSha256 = "sha256-yxrOLCtSrY/a84N5yRWGUx1L425TckjvRyn/rtkzsRY=";
16   ldflags = [ "-d" "-s" "-w" ];
18   passthru.tests.version = testers.testVersion {
19     package = gosu;
20   };
22   meta = with lib; {
23     description = "Tool that avoids TTY and signal-forwarding behavior of sudo and su";
24     homepage = "https://github.com/tianon/gosu";
25     license = lib.licenses.gpl3;
26     maintainers = with maintainers; [ aaronjheng ];
27     platforms = lib.platforms.linux;
28   };