Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libnet / default.nix
blobb835844491fb6dfd4b1e639c0528eb28f68cbe9e
1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
3 stdenv.mkDerivation rec {
4   pname = "libnet";
5   version = "1.3";
7   src = fetchFromGitHub {
8     owner = "sam-github";
9     repo = "libnet";
10     rev = "v${version}";
11     hash = "sha256-P3LaDMMNPyEnA8nO1Bm7H0mW/hVBr0cFdg+p2JmWcGI=";
12   };
14   nativeBuildInputs = [
15     autoconf
16     automake
17     libtool
18   ];
20   preConfigure = "./autogen.sh";
22   meta = with lib; {
23     homepage = "https://github.com/sam-github/libnet";
24     description = "Portable framework for low-level network packet construction";
25     license = licenses.bsd3;
26     platforms = platforms.unix;
27   };