Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at github-to-sqlite-beautifulsoup4 33 lines 808 B view raw
1{ lib, stdenv, fetchFromGitHub, autoconf, automake, libevent }: 2 3stdenv.mkDerivation rec { 4 version = "1.60"; 5 pname = "ocproxy"; 6 7 src = fetchFromGitHub { 8 owner = "cernekee"; 9 repo = "ocproxy"; 10 rev = "v${version}"; 11 sha256 = "03323nnhb4y9nzwva04mq7xg03dvdrgp689g89f69jqc261skcqx"; 12 }; 13 14 nativeBuildInputs = [ autoconf automake ]; 15 buildInputs = [ libevent ]; 16 17 preConfigure = '' 18 patchShebangs autogen.sh 19 ./autogen.sh 20 ''; 21 22 meta = with lib; { 23 description = "OpenConnect proxy"; 24 longDescription = '' 25 ocproxy is a user-level SOCKS and port forwarding proxy for OpenConnect 26 based on lwIP. 27 ''; 28 homepage = "https://github.com/cernekee/ocproxy"; 29 license = licenses.bsd3; 30 maintainers = [ maintainers.joko ]; 31 platforms = platforms.unix; 32 }; 33}