Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 21 lines 580 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "libnet-${version}"; 5 version = "1.2-rc3"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libnet-dev/${name}.tar.gz"; 9 sha256 = "0qsapqa7dzq9f6lb19kzilif0pj82b64fjv5bq086hflb9w81hvj"; 10 }; 11 12 patches = [ ./fix-includes.patch ]; 13 14 meta = with stdenv.lib; { 15 homepage = https://github.com/sam-github/libnet; 16 description = "Portable framework for low-level network packet construction"; 17 license = licenses.bsd3; 18 platforms = platforms.unix; 19 maintainers = with maintainers; [ wkennington ]; 20 }; 21}