mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #16919 from jokogr/fix/ocproxy-add
ocproxy: init at 1.50
This commit is contained in:
commit
d2435933c0
|
@ -186,6 +186,7 @@
|
|||
joamaki = "Jussi Maki <joamaki@gmail.com>";
|
||||
joelmo = "Joel Moberg <joel.moberg@gmail.com>";
|
||||
joelteon = "Joel Taylor <me@joelt.io>";
|
||||
joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
|
||||
jpbernardy = "Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>";
|
||||
jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
|
||||
juliendehos = "Julien Dehos <dehos@lisic.univ-littoral.fr>";
|
||||
|
|
32
pkgs/tools/networking/ocproxy/default.nix
Normal file
32
pkgs/tools/networking/ocproxy/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.50";
|
||||
name = "ocproxy-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cernekee";
|
||||
repo = "ocproxy";
|
||||
rev = "v${version}";
|
||||
sha256 = "136vlk2svgls5paf17xi1zahcahgcnmi2p55khh7zpqaar4lzw6s";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libevent ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs autogen.sh
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OpenConnect proxy";
|
||||
longdescription = ''
|
||||
ocproxy is a user-level SOCKS and port forwarding proxy for OpenConnect
|
||||
based on lwIP.
|
||||
'';
|
||||
homepage = https://github.com/cernekee/ocproxy;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.joko ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -2780,6 +2780,8 @@ in
|
|||
|
||||
obexd = callPackage ../tools/bluetooth/obexd { };
|
||||
|
||||
ocproxy = callPackage ../tools/networking/ocproxy { };
|
||||
|
||||
openfortivpn = callPackage ../tools/networking/openfortivpn { };
|
||||
|
||||
obexfs = callPackage ../tools/bluetooth/obexfs { };
|
||||
|
|
Loading…
Reference in a new issue