nixpkgs/pkgs/tools/security/sudolikeaboss/default.nix
Andrew Childs 722d02a720 treewide: move fixDarwinDylibNames to nativeBuildInputs
This hook runs at build time and depends on executing
install_name_tool from binutils.
2020-10-21 13:26:53 +09:00

35 lines
1,013 B
Nix

# 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
];
propagatedNativeBuildInputs =
stdenv.lib.optional stdenv.hostPlatform.isDarwin 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;
};
}