1 { lib, buildGoModule, fetchFromGitHub, testers, gosu }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-qwoHQB37tY8Pz8CHleYZI+SGkbHG7P/vgfXVMSyqi10=";
14 vendorSha256 = "sha256-yxrOLCtSrY/a84N5yRWGUx1L425TckjvRyn/rtkzsRY=";
16 ldflags = [ "-d" "-s" "-w" ];
18 passthru.tests.version = testers.testVersion {
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;