2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv , fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libsmi";
|
|
|
|
version = "0.5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.ibr.cs.tu-bs.de/projects/libsmi/download/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1lslaxr2qcj6hf4naq5n5mparfhmswsgq4wa7zm2icqvvgdcq6pj";
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-std=gnu90";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library to Access SMI MIB Information";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.ibr.cs.tu-bs.de/projects/libsmi/index.html";
|
|
|
|
license = licenses.free;
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|