Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 22.05-pre 20 lines 529 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libnet"; 5 version = "1.2-rc3"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libnet-dev/${pname}-${version}.tar.gz"; 9 sha256 = "0qsapqa7dzq9f6lb19kzilif0pj82b64fjv5bq086hflb9w81hvj"; 10 }; 11 12 patches = [ ./fix-includes.patch ]; 13 14 meta = with 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 }; 20}