diff options
author | Graham Christensen <graham@tumblr.com> | 2016-12-06 13:07:02 -0500 |
---|---|---|
committer | Graham Christensen <graham@tumblr.com> | 2016-12-06 13:07:02 -0500 |
commit | 14e53ca5ab779f64aee599787ce070888c2af246 (patch) | |
tree | f06a87a20f90f3fda7ea4cb52581df508024b70d /pkgs/tools/security/sudolikeaboss | |
parent | 1e00f3fef04286bdb7a582dfad8a8aa1866d9570 (diff) | |
download | nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar.gz nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar.bz2 nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar.lz nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar.xz nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.tar.zst nixpkgs-14e53ca5ab779f64aee599787ce070888c2af246.zip |
sudolikeaboss: 0.2.1 -> 20161127-2d9afe1
Diffstat (limited to 'pkgs/tools/security/sudolikeaboss')
-rw-r--r-- | pkgs/tools/security/sudolikeaboss/default.nix | 14 | ||||
-rw-r--r-- | pkgs/tools/security/sudolikeaboss/deps.nix | 29 |
2 files changed, 32 insertions, 11 deletions
diff --git a/pkgs/tools/security/sudolikeaboss/default.nix b/pkgs/tools/security/sudolikeaboss/default.nix index 6e2d6888f2e..066fef39a82 100644 --- a/pkgs/tools/security/sudolikeaboss/default.nix +++ b/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; [ @@ -29,5 +34,4 @@ buildGoPackage rec { maintainers = [ maintainers.grahamc ]; platforms = platforms.darwin; }; - } diff --git a/pkgs/tools/security/sudolikeaboss/deps.nix b/pkgs/tools/security/sudolikeaboss/deps.nix index 04f831675fa..350306a24f4 100644 --- a/pkgs/tools/security/sudolikeaboss/deps.nix +++ b/pkgs/tools/security/sudolikeaboss/deps.nix @@ -1,13 +1,30 @@ -# 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"; }; } { @@ -15,8 +32,8 @@ fetch = { type = "git"; url = "https://go.googlesource.com/net"; - rev = "2a824cf9226006580a06d9fa8f10901c17b49ed5"; - sha256 = "19hc83dsa8k1zbzb16v9yc44grscl9r4fxlpwqi3f6zqfrv0qk4n"; + rev = "0c96df335ed3f17f758cba1a2c71b7849dd828e3"; + sha256 = "02zn1f539y5yc1sx82ym8c3pp3z371d1ldhl20skwjwbdw1ln8hm"; }; } ] |