2013-10-03 15:35:34 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libnet-${version}";
|
2015-03-12 00:21:23 +01:00
|
|
|
version = "1.2-rc3";
|
2013-10-03 15:35:34 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libnet-dev/${name}.tar.gz";
|
2015-03-12 00:21:23 +01:00
|
|
|
sha256 = "0qsapqa7dzq9f6lb19kzilif0pj82b64fjv5bq086hflb9w81hvj";
|
2013-10-03 15:35:34 +02:00
|
|
|
};
|
|
|
|
|
2017-10-30 22:25:05 +01:00
|
|
|
patches = [ ./fix-includes.patch ];
|
|
|
|
|
2015-03-12 00:21:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://github.com/sam-github/libnet;
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Portable framework for low-level network packet construction";
|
2015-03-12 00:21:23 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
2013-10-03 15:35:34 +02:00
|
|
|
};
|
|
|
|
}
|