mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
895 B
Nix
28 lines
895 B
Nix
{ fetchurl, stdenv, flex, bison, pkgconfig, libmnl, libnfnetlink
|
|
, libnetfilter_conntrack, libnetfilter_queue, libnetfilter_cttimeout
|
|
, libnetfilter_cthelper, systemd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "conntrack-tools";
|
|
version = "1.4.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.netfilter.org/projects/conntrack-tools/files/${pname}-${version}.tar.bz2";
|
|
sha256 = "0qm4m78hr6a4fbmnkw5nyjm1pzzhydzx0nz7f96iv1c4fsfdkiin";
|
|
};
|
|
|
|
buildInputs = [
|
|
libmnl libnfnetlink libnetfilter_conntrack libnetfilter_queue
|
|
libnetfilter_cttimeout libnetfilter_cthelper systemd
|
|
];
|
|
nativeBuildInputs = [ flex bison pkgconfig ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://conntrack-tools.netfilter.org/;
|
|
description = "Connection tracking userspace tools";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|