3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libnet/default.nix

21 lines
527 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libnet-${version}";
2015-03-11 23:21:23 +00:00
version = "1.2-rc3";
src = fetchurl {
url = "mirror://sourceforge/libnet-dev/${name}.tar.gz";
2015-03-11 23:21:23 +00:00
sha256 = "0qsapqa7dzq9f6lb19kzilif0pj82b64fjv5bq086hflb9w81hvj";
};
patches = [ ./fix-includes.patch ];
2015-03-11 23:21:23 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/sam-github/libnet;
description = "Portable framework for low-level network packet construction";
2015-03-11 23:21:23 +00:00
license = licenses.bsd3;
platforms = platforms.unix;
};
}