summary refs log tree commit diff
path: root/pkgs/tools/security/sudolikeaboss/default.nix
blob: 242da1a67bb48494115e7542945a35037bbdf615 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This file was generated by go2nix, then modified by hand for Darwin support.
{ lib, buildGoPackage, fetchFromGitHub, darwin }:

buildGoPackage rec {
  pname = "sudolikeaboss-unstable";
  version = "20161127-${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;

  buildInputs = with darwin.apple_sdk.frameworks; [
    Cocoa
  ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "Get 1password access from iterm2";
    license = licenses.mit;
    maintainers = [ maintainers.grahamc ];
    platforms = platforms.darwin;
  };
}