nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 26 lines 920 B view raw
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libmnl"; 5 version = "1.0.5"; 6 7 src = fetchurl { 8 url = "https://netfilter.org/projects/libmnl/files/${pname}-${version}.tar.bz2"; 9 sha256 = "09851ns07399rbz0y8slrlmnw3fn1nakr8d37pxjn5gkks8rnjr7"; 10 }; 11 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; 23 24 platforms = lib.platforms.linux; 25 }; 26}