Merge pull request #19341 from grahamc/sudolikeaboss

sudolikeaboss: init at 0.2.1
This commit is contained in:
Graham Christensen 2016-10-08 08:52:02 -04:00 committed by GitHub
commit a72dd11b3e
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fixDarwinDylibNames, darwin }:
buildGoPackage rec {
name = "sudolikeaboss-${version}";
version = "0.2.1";
goPackagePath = "github.com/ravenac95/sudolikeaboss";
src = fetchFromGitHub {
owner = "ravenac95";
repo = "sudolikeaboss";
rev = "v${version}";
sha256 = "1zsmy67d334nax76sq0g2sczp4zi19d94d3xfwgadzk7sxvw1z0m";
};
goDeps = ./deps.nix;
propagatedBuildInputs = with darwin.apple_sdk.frameworks; [
Cocoa
fixDarwinDylibNames
];
postInstall = ''
install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/sudolikeaboss
'';
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Get 1password access from iterm2";
license = licenses.mit;
maintainers = [ maintainers.grahamc ];
platforms = platforms.darwin;
};
}

View File

@ -0,0 +1,22 @@
# This file was generated by go2nix: https://github.com/kamilchm/go2nix
# v1.1.0 or 1.1.1, not 100% sure
[
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "55f715e28c46073d0e217e2ce8eb46b0b45e3db6";
sha256 = "0fvqxh1dx4f189y90fhrjapb4g51d7cp203jahxfb19k1k8c3942";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "2a824cf9226006580a06d9fa8f10901c17b49ed5";
sha256 = "19hc83dsa8k1zbzb16v9yc44grscl9r4fxlpwqi3f6zqfrv0qk4n";
};
}
]

View File

@ -13755,6 +13755,8 @@ in
smtube = qt55.callPackage ../applications/video/smtube {};
sudolikeaboss = callPackage ../tools/security/sudolikeaboss { };
sup = callPackage ../applications/networking/mailreaders/sup {
ruby = ruby_2_3.override { cursesSupport = true; };
};