summary refs log tree commit diff
path: root/pkgs/tools/misc/gosu/default.nix
blob: 7bc7eab345627b98fe5b8921877ca8f1e171e154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, buildGoPackage, fetchgit }:

buildGoPackage rec {
  pname = "gosu";
  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";
    license = lib.licenses.gpl3;
    platforms = lib.platforms.linux;
  };
}