commit
a34d2ab2d6
24
pkgs/tools/misc/gosu/default.nix
Normal file
24
pkgs/tools/misc/gosu/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "gosu-${version}";
|
||||||
|
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";
|
||||||
|
licence = stdenv.lib.licenses.gpl3;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
11
pkgs/tools/misc/gosu/deps.nix
Normal file
11
pkgs/tools/misc/gosu/deps.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/opencontainers/runc";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/opencontainers/runc";
|
||||||
|
rev = "5274430fee9bc930598cfd9c9dbd33213f79f96e";
|
||||||
|
sha256 = "149057gm2y1mc45s7bh43c1ngjg1m54jkpaxw534ir9v5mb1zsxx";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -1081,6 +1081,8 @@ with pkgs;
|
|||||||
|
|
||||||
gorilla-bin = callPackage ../tools/security/gorilla-bin { };
|
gorilla-bin = callPackage ../tools/security/gorilla-bin { };
|
||||||
|
|
||||||
|
gosu = callPackage ../tools/misc/gosu { };
|
||||||
|
|
||||||
gringo = callPackage ../tools/misc/gringo { };
|
gringo = callPackage ../tools/misc/gringo { };
|
||||||
|
|
||||||
gti = callPackage ../tools/misc/gti { };
|
gti = callPackage ../tools/misc/gti { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user