Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
755 B
Nix
41 lines
755 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
testers,
|
|
gosu,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gosu";
|
|
version = "1.19";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tianon";
|
|
repo = "gosu";
|
|
rev = version;
|
|
hash = "sha256-Kl7roHOoKVPhWX4TWXP65brxV+bVBOAyphmWVpAQ15E=";
|
|
};
|
|
|
|
vendorHash = "sha256-/Q9h3uwnna9YDqNv8+2VOMaCbvsf9r7CvPrWwv5DvLE=";
|
|
|
|
ldflags = [
|
|
"-d"
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = gosu;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tool that avoids TTY and signal-forwarding behavior of sudo and su";
|
|
mainProgram = "gosu";
|
|
homepage = "https://github.com/tianon/gosu";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|