2020-04-24 23:36:52 +00:00
|
|
|
# This file was generated by go2nix, then modified by hand for Darwin support.
|
2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub, darwin }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "sudolikeaboss-unstable";
|
2021-01-15 22:18:51 +00:00
|
|
|
version = "20161127-${lib.strings.substring 0 7 rev}";
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = "2d9afe19f872c9f433d476e57ee86169781b164c";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/ravenac95/sudolikeaboss";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ravenac95";
|
|
|
|
repo = "sudolikeaboss";
|
|
|
|
inherit rev;
|
|
|
|
sha256 = "0ni3v4kanxfzxzjd48f5dgv62jbfrw7kdmq0snj09hw7ciw55yg6";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
buildInputs = with darwin.apple_sdk.frameworks; [
|
2020-04-24 23:36:52 +00:00
|
|
|
Cocoa
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Get 1password access from iterm2";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.grahamc ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|