mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
ab71280823
mate.mate-desktop: https://hydra.nixos.org/build/61110037 gdmap: https://hydra.nixos.org/build/61144743 redsocks: https://hydra.nixos.org/build/61123106 resolv_wrapper: https://hydra.nixos.org/build/61121132 ogmtools: https://hydra.nixos.org/build/61108726 mp3info: https://hydra.nixos.org/build/61139015 lxappearance-gtk3: https://hydra.nixos.org/build/61126327 hdf5-fortran: https://hydra.nixos.org/build/61146631 pqiv: https://hydra.nixos.org/build/61124724
34 lines
707 B
Nix
34 lines
707 B
Nix
{ stdenv, fetchFromGitHub, libevent }:
|
|
|
|
let
|
|
pkg = "redsocks";
|
|
version = "0.5";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "${pkg}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "darkk";
|
|
repo = pkg;
|
|
rev = "release-${version}";
|
|
sha256 = "170cpvvivb6y2kwsqj9ppx5brgds9gkn8mixrnvj8z9c15xhvplm";
|
|
};
|
|
|
|
installPhase =
|
|
''
|
|
mkdir -p $out/{bin,share}
|
|
mv redsocks $out/bin
|
|
mv doc $out/share
|
|
'';
|
|
|
|
buildInputs = [ libevent ];
|
|
|
|
meta = {
|
|
description = "Transparent redirector of any TCP connection to proxy";
|
|
homepage = http://darkk.net.ru/redsocks/;
|
|
license = stdenv.lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|