Merge pull request #29093 from brodul/add/gosu

gosu: init at 2.0.1
This commit is contained in:
Jörg Thalheim 2017-09-08 15:32:20 +01:00 committed by GitHub
commit a34d2ab2d6
3 changed files with 37 additions and 0 deletions

View 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;
};
}

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/opencontainers/runc";
fetch = {
type = "git";
url = "https://github.com/opencontainers/runc";
rev = "5274430fee9bc930598cfd9c9dbd33213f79f96e";
sha256 = "149057gm2y1mc45s7bh43c1ngjg1m54jkpaxw534ir9v5mb1zsxx";
};
}
]

View File

@ -1081,6 +1081,8 @@ with pkgs;
gorilla-bin = callPackage ../tools/security/gorilla-bin { };
gosu = callPackage ../tools/misc/gosu { };
gringo = callPackage ../tools/misc/gringo { };
gti = callPackage ../tools/misc/gti { };