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; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Library to Access SMI MIB Information";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|