nixpkgs/pkgs/development/libraries/libnet/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
630 B
Nix
Raw Normal View History

2022-03-30 09:18:00 +00:00
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
stdenv.mkDerivation rec {
pname = "libnet";
2022-03-30 09:18:00 +00:00
version = "1.2";
2022-03-30 09:18:00 +00:00
src = fetchFromGitHub {
owner = "sam-github";
repo = "libnet";
rev = "v${version}";
sha256 = "sha256-Y/wd9c4whUbfpvWvKzJV6vJN3AlA14XBejchRG6wBc4=";
};
2022-03-30 09:18:00 +00:00
nativeBuildInputs = [
autoconf
automake
libtool
];
preConfigure = "./autogen.sh";
meta = with lib; {
homepage = "https://github.com/sam-github/libnet";
description = "Portable framework for low-level network packet construction";
2015-03-11 23:21:23 +00:00
license = licenses.bsd3;
platforms = platforms.unix;
};
}