sudolikeaboss: init at 0.2.1
This commit is contained in:
parent
adfcc2d953
commit
969cffca97
33
pkgs/tools/security/sudolikeaboss/default.nix
Normal file
33
pkgs/tools/security/sudolikeaboss/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, buildGoPackage, fetchFromGitHub, fixDarwinDylibNames, darwin }:
|
||||||
|
buildGoPackage rec {
|
||||||
|
name = "sudolikeaboss-${version}";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/ravenac95/sudolikeaboss";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ravenac95";
|
||||||
|
repo = "sudolikeaboss";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1zsmy67d334nax76sq0g2sczp4zi19d94d3xfwgadzk7sxvw1z0m";
|
||||||
|
};
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
propagatedBuildInputs = with darwin.apple_sdk.frameworks; [
|
||||||
|
Cocoa
|
||||||
|
fixDarwinDylibNames
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/sudolikeaboss
|
||||||
|
'';
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
22
pkgs/tools/security/sudolikeaboss/deps.nix
Normal file
22
pkgs/tools/security/sudolikeaboss/deps.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# This file was generated by go2nix: https://github.com/kamilchm/go2nix
|
||||||
|
# v1.1.0 or 1.1.1, not 100% sure
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/urfave/cli";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/urfave/cli";
|
||||||
|
rev = "55f715e28c46073d0e217e2ce8eb46b0b45e3db6";
|
||||||
|
sha256 = "0fvqxh1dx4f189y90fhrjapb4g51d7cp203jahxfb19k1k8c3942";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/net";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/net";
|
||||||
|
rev = "2a824cf9226006580a06d9fa8f10901c17b49ed5";
|
||||||
|
sha256 = "19hc83dsa8k1zbzb16v9yc44grscl9r4fxlpwqi3f6zqfrv0qk4n";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
@ -14404,6 +14404,8 @@ in
|
|||||||
|
|
||||||
smtube = qt55.callPackage ../applications/video/smtube {};
|
smtube = qt55.callPackage ../applications/video/smtube {};
|
||||||
|
|
||||||
|
sudolikeaboss = callPackage ../tools/security/sudolikeaboss { };
|
||||||
|
|
||||||
sup = callPackage ../applications/networking/mailreaders/sup {
|
sup = callPackage ../applications/networking/mailreaders/sup {
|
||||||
ruby = ruby_2_3.override { cursesSupport = true; };
|
ruby = ruby_2_3.override { cursesSupport = true; };
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user