diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/sudolikeaboss')
-rw-r--r-- | nixpkgs/pkgs/tools/security/sudolikeaboss/default.nix | 33 | ||||
-rw-r--r-- | nixpkgs/pkgs/tools/security/sudolikeaboss/deps.nix | 39 |
2 files changed, 72 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/sudolikeaboss/default.nix b/nixpkgs/pkgs/tools/security/sudolikeaboss/default.nix new file mode 100644 index 000000000000..97db4a28c458 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/sudolikeaboss/default.nix @@ -0,0 +1,33 @@ +# This file was generated by go2nix, then modified by hand for Darwin support. +{ stdenv, buildGoPackage, fetchFromGitHub, fixDarwinDylibNames, darwin }: + +buildGoPackage rec { + pname = "sudolikeaboss-unstable"; + version = "20161127-${stdenv.lib.strings.substring 0 7 rev}"; + rev = "2d9afe19f872c9f433d476e57ee86169781b164c"; + + goPackagePath = "github.com/ravenac95/sudolikeaboss"; + + src = fetchFromGitHub { + owner = "ravenac95"; + repo = "sudolikeaboss"; + inherit rev; + sha256 = "0ni3v4kanxfzxzjd48f5dgv62jbfrw7kdmq0snj09hw7ciw55yg6"; + }; + + goDeps = ./deps.nix; + + propagatedBuildInputs = with darwin.apple_sdk.frameworks; [ + Cocoa + fixDarwinDylibNames + ]; + + 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; + }; +} diff --git a/nixpkgs/pkgs/tools/security/sudolikeaboss/deps.nix b/nixpkgs/pkgs/tools/security/sudolikeaboss/deps.nix new file mode 100644 index 000000000000..350306a24f4b --- /dev/null +++ b/nixpkgs/pkgs/tools/security/sudolikeaboss/deps.nix @@ -0,0 +1,39 @@ +# 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 = "0bdeddeeb0f650497d603c4ad7b20cfe685682f6"; + sha256 = "1ny63c7bfwfrsp7vfkvb4i0xhq4v7yxqnwxa52y4xlfxs4r6v6fg"; + }; + } + { + goPackagePath = "golang.org/x/net"; + fetch = { + type = "git"; + url = "https://go.googlesource.com/net"; + rev = "0c96df335ed3f17f758cba1a2c71b7849dd828e3"; + sha256 = "02zn1f539y5yc1sx82ym8c3pp3z371d1ldhl20skwjwbdw1ln8hm"; + }; + } +] |