Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

guardian-agent: init at 0.7.2-beta

+104
+44
pkgs/tools/networking/guardian-agent/default.nix
··· 1 + { buildGoPackage 2 + , fetchFromGitHub 3 + , lib 4 + , autossh 5 + , makeWrapper 6 + }: 7 + 8 + buildGoPackage rec { 9 + pname = "guardian-agent"; 10 + version = "0.7.2"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "StanfordSNR"; 14 + repo = pname; 15 + rev = "v${version}-beta"; 16 + sha256 = "05269y944hcabn6dqa66387rdhx81vcqcyjv6m1hdbz5ba8j7mqn"; 17 + }; 18 + 19 + nativeBuildInputs = [ makeWrapper ]; 20 + 21 + goPackagePath = "github.com/StanfordSNR/guardian-agent"; 22 + 23 + goDeps = ./deps.nix; 24 + 25 + postInstall = '' 26 + mkdir -p $bin/bin $out/share/doc/${pname} 27 + cp -v ./go/src/github.com/StanfordSNR/${pname}/scripts/* $bin/bin/ 28 + cp -vr ./go/src/github.com/StanfordSNR/${pname}/{AUTHORS,doc,LICENSE,README.md} $out/share/doc/guardian-agent 29 + ''; 30 + 31 + postFixup = '' 32 + wrapProgram $bin/bin/sga-guard \ 33 + --prefix PATH : "$bin/bin" \ 34 + --prefix PATH : "${autossh}/bin" 35 + ''; 36 + 37 + meta = with lib; { 38 + description = "Secure ssh-agent forwarding for Mosh and SSH"; 39 + homepage = "https://github.com/StanfordSNR/guardian-agent"; 40 + license = licenses.bsd3; 41 + maintainers = with maintainers; [ mmahut ]; 42 + platforms = platforms.unix; 43 + }; 44 + }
+58
pkgs/tools/networking/guardian-agent/deps.nix
··· 1 + # This file was generated by https://github.com/kamilchm/go2nix v1.3.0 2 + [ 3 + { 4 + goPackagePath = "github.com/hashicorp/yamux"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/hashicorp/yamux"; 8 + rev = "2f1d1f20f75d5404f53b9edf6b53ed5505508675"; 9 + sha256 = "1fga3p6j2g24ip9qjfwn3nqjr00m4nnjz92app7ms3sz7vgq2a7s"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "github.com/howeyc/gopass"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/howeyc/gopass"; 17 + rev = "bf9dde6d0d2c004a008c27aaee91170c786f6db8"; 18 + sha256 = "1jxzyfnqi0h1fzlsvlkn10bncic803bfhslyijcxk55mgh297g45"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "github.com/sternhenri/interact"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/sternhenri/interact"; 26 + rev = "dfeb9ef2030483f98cee2c86f5775fe6c729f10b"; 27 + sha256 = "00b09fyy9zhv11mbzm18ngg765g0gyb23bmr4fc83i09w912if7j"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "golang.org/x/sys"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://go.googlesource.com/sys"; 35 + rev = "04f50cda93cbb67f2afa353c52f342100e80e625"; 36 + sha256 = "0hmfsz9y1ingwsn482hlzzmzs7kr3cklm0ana0mbdk70isw2bxnw"; 37 + }; 38 + } 39 + { 40 + goPackagePath = "golang.org/x/crypto"; 41 + fetch = { 42 + type = "git"; 43 + url = "https://github.com/StanfordSNR/crypto"; 44 + rev = "e451cabda2acd7a416728ee89b75975b8b0c90d7"; 45 + sha256 = "0aj6fc0i1dm6rdgr1mlv2pl4s0i6sj821k2p4gig45h5mn06mhpz"; 46 + }; 47 + } 48 + { 49 + goPackagePath = "github.com/jessevdk/go-flags"; 50 + fetch = { 51 + type = "git"; 52 + url = "https://github.com/jessevdk/go-flags"; 53 + rev = "c0795c8afcf41dd1d786bebce68636c199b3bb45"; 54 + sha256 = "0xsmr17mrpm9kx34zfzzirwy0n459h975x49p41fs2f6ly6lk9vp"; 55 + }; 56 + } 57 + 58 + ]
+2
pkgs/top-level/all-packages.nix
··· 18317 18317 18318 18318 guake = callPackage ../applications/misc/guake { }; 18319 18319 18320 + guardian-agent = callPackage ../tools/networking/guardian-agent { }; 18321 + 18320 18322 guitone = callPackage ../applications/version-management/guitone { 18321 18323 graphviz = graphviz_2_32; 18322 18324 };