mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
socat: make tests run, but disable
This commit is contained in:
parent
fea886b31f
commit
131e6d664b
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, openssl, readline }:
|
||||
{ stdenv, fetchurl, openssl, readline, which, nettools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "socat-1.7.3.2";
|
||||
@ -8,10 +8,20 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0lcj6zpra33xhgvhmz9l3cqz10v8ybafb8dd1yqkwf1rhy01ymp3";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs test.sh
|
||||
substituteInPlace test.sh \
|
||||
--replace /bin/rm rm \
|
||||
--replace /sbin/ifconfig ifconfig
|
||||
'';
|
||||
|
||||
buildInputs = [ openssl readline ];
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
||||
checkInputs = [ which nettools ];
|
||||
doCheck = false; # fails a bunch, hangs
|
||||
|
||||
meta = {
|
||||
description = "A utility for bidirectional data transfer between two independent data channels";
|
||||
homepage = http://www.dest-unreach.org/socat/;
|
||||
|
Loading…
Reference in New Issue
Block a user