summary refs log tree commit diff
path: root/pkgs/development/libraries/libnet/default.nix
blob: 7987fccc06fb0eef370ce74fe95cab4a6bc2e2d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "libnet";
  version = "1.2-rc3";

  src = fetchurl {
    url = "mirror://sourceforge/libnet-dev/${pname}-${version}.tar.gz";
    sha256 = "0qsapqa7dzq9f6lb19kzilif0pj82b64fjv5bq086hflb9w81hvj";
  };

  patches = [ ./fix-includes.patch ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/sam-github/libnet";
    description = "Portable framework for low-level network packet construction";
    license = licenses.bsd3;
    platforms = platforms.unix;
  };
}