2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchgit }:
|
2017-09-07 21:27:13 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gosu";
|
2017-09-07 21:27:13 +01:00
|
|
|
version = "2017-05-09";
|
|
|
|
rev = "e87cf95808a7b16208515c49012aa3410bc5bba8";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/tianon/gosu";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/tianon/gosu";
|
|
|
|
sha256 = "1qp1cfx0hrr4qlnh7rhjb4xlxv9697flmgzzl6jcdkrpk1f0bz8m";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description= "Tool that avoids TTY and signal-forwarding behavior of sudo and su";
|
|
|
|
homepage = "https://github.com/tianon/gosu";
|
2017-12-05 22:20:11 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2017-09-07 21:27:13 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|