mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
21 lines
529 B
Nix
21 lines
529 B
Nix
{ 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;
|
|
};
|
|
}
|