uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/tools/networking/ocproxy/default.nix
Normal file
33
pkgs/tools/networking/ocproxy/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.60";
|
||||
pname = "ocproxy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cernekee";
|
||||
repo = "ocproxy";
|
||||
rev = "v${version}";
|
||||
sha256 = "03323nnhb4y9nzwva04mq7xg03dvdrgp689g89f69jqc261skcqx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake ];
|
||||
buildInputs = [ libevent ];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs autogen.sh
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue