diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libnet/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libnet/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libnet/default.nix b/nixpkgs/pkgs/development/libraries/libnet/default.nix new file mode 100644 index 000000000000..f642ad5ccfab --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libnet/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libnet-${version}"; + version = "1.2-rc3"; + + src = fetchurl { + url = "mirror://sourceforge/libnet-dev/${name}.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; + maintainers = with maintainers; [ wkennington ]; + }; +} |