mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
redir: 2.2.1 -> 3.1
This commit is contained in:
parent
a0aacdd199
commit
8821ef9dc5
@ -1,21 +1,21 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "redir-2.2.1";
|
||||
name = "redir-${version}";
|
||||
version = "3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://sammy.net/~sammy/hacks/${name}.tar.gz";
|
||||
sha256 = "0v0f14br00rrmd1ss644adsby4gm29sn7a2ccy7l93ik6pw099by";
|
||||
src = fetchFromGitHub {
|
||||
owner = "troglobit";
|
||||
repo = "redir";
|
||||
rev = "v${version}";
|
||||
sha256 = "1m05dchi15bzz9zfdb7jg59624sx4khp5zq0wf4pzr31s64f69cx";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp redir $out/bin
|
||||
'';
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
meta = {
|
||||
description = "A port redirector";
|
||||
homepage = http://sammy.net/~sammy/hacks/;
|
||||
description = "A TCP port redirector for UNIX";
|
||||
homepage = "https://github.com/troglobit/redir";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ globin ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
Loading…
Reference in New Issue
Block a user