Adding hyenae - patch by MarcWeber
svn path=/nixpkgs/trunk/; revision=29470
This commit is contained in:
parent
3e09798bf4
commit
4d6030f56b
31
pkgs/development/libraries/libdnet/default.nix
Normal file
31
pkgs/development/libraries/libdnet/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{stdenv, fetchurl, automake, autoconf, libtool}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "libdnet-1.12";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://libdnet.googlecode.com/files/libdnet-1.12.tgz;
|
||||||
|
sha1 = "71302be302e84fc19b559e811951b5d600d976f8";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = [ "--enable-shared" ]; # shared libs required by hyenae
|
||||||
|
|
||||||
|
buildInputs = [ automake autoconf libtool ];
|
||||||
|
|
||||||
|
# .so endings are missing (quick and dirty fix)
|
||||||
|
postInstall = ''
|
||||||
|
for i in $out/lib/*; do
|
||||||
|
ln -s $i $i.so
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "libdnet provides a simplified, portable interface to several low-level networking routines";
|
||||||
|
homepage = http://code.google.com/p/libdnet/;
|
||||||
|
license = "BSD"; # New BSD license
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
22
pkgs/tools/networking/hyenae/default.nix
Normal file
22
pkgs/tools/networking/hyenae/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{stdenv, fetchurl, libdnet, pkgconfig, libpcap}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "hyenae-0.36-1";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/hyenae/0.36-1/hyenae-0.36-1.tar.gz;
|
||||||
|
sha256 = "1f3x4yn9a9p4f4wk4l8pv7hxfjc8q7cv20xzf7ky735sq1hj0xcg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [libdnet pkgconfig libpcap];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "";
|
||||||
|
homepage = http://sourceforge.net/projects/hyenae/;
|
||||||
|
license = "GPLv3";
|
||||||
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -2860,6 +2860,8 @@ let
|
|||||||
inherit (perlPackages) LocaleGettext;
|
inherit (perlPackages) LocaleGettext;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hyenae = callPackage ../tools/networking/hyenae { };
|
||||||
|
|
||||||
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
iconnamingutils = callPackage ../development/tools/misc/icon-naming-utils {
|
||||||
inherit (perlPackages) XMLSimple;
|
inherit (perlPackages) XMLSimple;
|
||||||
};
|
};
|
||||||
@ -3767,6 +3769,8 @@ let
|
|||||||
|
|
||||||
libdmtx = callPackage ../development/libraries/libdmtx { };
|
libdmtx = callPackage ../development/libraries/libdmtx { };
|
||||||
|
|
||||||
|
libdnet = callPackage ../development/libraries/libdnet { };
|
||||||
|
|
||||||
libdrm = callPackage ../development/libraries/libdrm {
|
libdrm = callPackage ../development/libraries/libdrm {
|
||||||
inherit fetchurl stdenv pkgconfig;
|
inherit fetchurl stdenv pkgconfig;
|
||||||
inherit (xorg) libpthreadstubs;
|
inherit (xorg) libpthreadstubs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user