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