Skip to content

Commit

Permalink
sudolikeaboss: 0.2.1 -> 20161127-2d9afe1
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham Christensen committed Dec 6, 2016
1 parent 1e00f3f commit 14e53ca
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 11 deletions.
14 changes: 9 additions & 5 deletions pkgs/tools/security/sudolikeaboss/default.nix
@@ -1,15 +1,20 @@
# This file was generated by go2nix, then modified by hand for Darwin support.
{ stdenv, buildGoPackage, fetchFromGitHub, fixDarwinDylibNames, darwin }:

buildGoPackage rec {
name = "sudolikeaboss-${version}";
version = "0.2.1";
name = "sudolikeaboss-unstable-${version}";
version = "20161127-${stdenv.lib.strings.substring 0 7 rev}";
rev = "2d9afe19f872c9f433d476e57ee86169781b164c";

goPackagePath = "github.com/ravenac95/sudolikeaboss";

src = fetchFromGitHub {
owner = "ravenac95";
repo = "sudolikeaboss";
rev = "v${version}";
sha256 = "1zsmy67d334nax76sq0g2sczp4zi19d94d3xfwgadzk7sxvw1z0m";
inherit rev;
sha256 = "0ni3v4kanxfzxzjd48f5dgv62jbfrw7kdmq0snj09hw7ciw55yg6";
};

goDeps = ./deps.nix;

propagatedBuildInputs = with darwin.apple_sdk.frameworks; [
Expand All @@ -29,5 +34,4 @@ buildGoPackage rec {
maintainers = [ maintainers.grahamc ];
platforms = platforms.darwin;
};

}
29 changes: 23 additions & 6 deletions pkgs/tools/security/sudolikeaboss/deps.nix
@@ -1,22 +1,39 @@
# This file was generated by go2nix: https://github.com/kamilchm/go2nix
# v1.1.0 or 1.1.1, not 100% sure
# This file was generated by go2nix.
[
{
goPackagePath = "github.com/Sirupsen/logrus";
fetch = {
type = "git";
url = "https://github.com/Sirupsen/logrus";
rev = "881bee4e20a5d11a6a88a5667c6f292072ac1963";
sha256 = "176a09lp20f0qfhwwlh2xg0vk7z1g7gq8k2wr3sg1fd8m86wrzzg";
};
}
{
goPackagePath = "github.com/satori/go.uuid";
fetch = {
type = "git";
url = "https://github.com/satori/go.uuid";
rev = "b061729afc07e77a8aa4fad0a2fd840958f1942a";
sha256 = "0q87n5an7ha2d8kl6gn9wi41rq0whsxq68w5x3nxz7w9vgkfnq1k";
};
}
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "55f715e28c46073d0e217e2ce8eb46b0b45e3db6";
sha256 = "0fvqxh1dx4f189y90fhrjapb4g51d7cp203jahxfb19k1k8c3942";
rev = "0bdeddeeb0f650497d603c4ad7b20cfe685682f6";
sha256 = "1ny63c7bfwfrsp7vfkvb4i0xhq4v7yxqnwxa52y4xlfxs4r6v6fg";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "2a824cf9226006580a06d9fa8f10901c17b49ed5";
sha256 = "19hc83dsa8k1zbzb16v9yc44grscl9r4fxlpwqi3f6zqfrv0qk4n";
rev = "0c96df335ed3f17f758cba1a2c71b7849dd828e3";
sha256 = "02zn1f539y5yc1sx82ym8c3pp3z371d1ldhl20skwjwbdw1ln8hm";
};
}
]

0 comments on commit 14e53ca

Please sign in to comment.