at 24.05-pre 20 lines 578 B view raw
1{ lib, stdenv , fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "libsmi"; 5 version = "0.5.0"; 6 7 src = fetchurl { 8 url = "https://www.ibr.cs.tu-bs.de/projects/libsmi/download/${pname}-${version}.tar.gz"; 9 sha256 = "1lslaxr2qcj6hf4naq5n5mparfhmswsgq4wa7zm2icqvvgdcq6pj"; 10 }; 11 12 env.NIX_CFLAGS_COMPILE = "-std=gnu90"; 13 14 meta = with lib; { 15 description = "A Library to Access SMI MIB Information"; 16 homepage = "https://www.ibr.cs.tu-bs.de/projects/libsmi/index.html"; 17 license = licenses.free; 18 platforms = lib.platforms.linux ++ lib.platforms.darwin; 19 }; 20}