Loading pkgs/by-name/ds/dsniff/package.nix +17 −5 Original line number Diff line number Diff line Loading @@ -34,11 +34,23 @@ let }; pcap = symlinkJoin { inherit (libpcap) name; paths = [ (libpcap.overrideAttrs { dontDisableStatic = true; }) ]; paths = let staticlibpcap = libpcap.overrideAttrs { dontDisableStatic = true; }; in [ (lib.getInclude staticlibpcap) (lib.getLib staticlibpcap) ]; postBuild = '' cp -rs $out/include/pcap $out/include/net # prevent references to libpcap rm $out/lib/*.so* # check the presence of the files that ./configure expects for i in $out/lib/libpcap.a $out/include/pcap.h $out/include/net/bpf.h; do if ! test -f $i; then echo $i is missing from output exit 1 fi done ''; }; net = symlinkJoin { Loading Loading @@ -71,8 +83,8 @@ stdenv.mkDerivation rec { domain = "salsa.debian.org"; owner = "pkg-security-team"; repo = "dsniff"; rev = "debian/${version}+debian-34"; sha256 = "sha256-CY0+G09KZXtAwKuaYh5/qcmZjuNhdGis3zCG14hWtqw="; tag = "debian/${version}+debian-35"; hash = "sha256-RVv9USAHTVYnGgKygIPgfXpfjCYigJvScuzc2+1Uzfw="; name = "dsniff.tar.gz"; }; Loading Loading
pkgs/by-name/ds/dsniff/package.nix +17 −5 Original line number Diff line number Diff line Loading @@ -34,11 +34,23 @@ let }; pcap = symlinkJoin { inherit (libpcap) name; paths = [ (libpcap.overrideAttrs { dontDisableStatic = true; }) ]; paths = let staticlibpcap = libpcap.overrideAttrs { dontDisableStatic = true; }; in [ (lib.getInclude staticlibpcap) (lib.getLib staticlibpcap) ]; postBuild = '' cp -rs $out/include/pcap $out/include/net # prevent references to libpcap rm $out/lib/*.so* # check the presence of the files that ./configure expects for i in $out/lib/libpcap.a $out/include/pcap.h $out/include/net/bpf.h; do if ! test -f $i; then echo $i is missing from output exit 1 fi done ''; }; net = symlinkJoin { Loading Loading @@ -71,8 +83,8 @@ stdenv.mkDerivation rec { domain = "salsa.debian.org"; owner = "pkg-security-team"; repo = "dsniff"; rev = "debian/${version}+debian-34"; sha256 = "sha256-CY0+G09KZXtAwKuaYh5/qcmZjuNhdGis3zCG14hWtqw="; tag = "debian/${version}+debian-35"; hash = "sha256-RVv9USAHTVYnGgKygIPgfXpfjCYigJvScuzc2+1Uzfw="; name = "dsniff.tar.gz"; }; Loading