btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / li / libmnl / package.nix
blob9a6f6a1d14dc9257498c4c923b6f4e454dfe8293
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "libmnl";
5   version = "1.0.5";
7   src = fetchurl {
8     url = "https://netfilter.org/projects/libmnl/files/${pname}-${version}.tar.bz2";
9     sha256 = "09851ns07399rbz0y8slrlmnw3fn1nakr8d37pxjn5gkks8rnjr7";
10   };
12   meta = {
13     description = "Minimalistic user-space library oriented to Netlink developers";
14     longDescription = ''
15       libmnl is a minimalistic user-space library oriented to Netlink developers.
16       There are a lot of common tasks in parsing, validating, constructing of both the Netlink
17       header and TLVs that are repetitive and easy to get wrong.
18       This library aims to provide simple helpers that allows you to re-use code and to avoid
19       re-inventing the wheel.
20     '';
21     homepage = "https://netfilter.org/projects/libmnl/index.html";
22     license = lib.licenses.lgpl21Plus;
24     platforms = lib.platforms.linux;
25   };