mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
619 B
Nix
25 lines
619 B
Nix
{ 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 = stdenv.lib.licenses.gpl3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|