Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libsmi / default.nix
blob14139d849dc7247fa84aa5d31eae44e8585b4b2c
1 { lib, stdenv , fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "libsmi";
5   version = "0.5.0";
7   src = fetchurl {
8     url = "https://www.ibr.cs.tu-bs.de/projects/libsmi/download/${pname}-${version}.tar.gz";
9     sha256 = "1lslaxr2qcj6hf4naq5n5mparfhmswsgq4wa7zm2icqvvgdcq6pj";
10   };
12   env.NIX_CFLAGS_COMPILE = "-std=gnu90";
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   };