mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
20 lines
576 B
Nix
20 lines
576 B
Nix
{ lib, stdenv , fetchurl }:
|
|
|
|
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";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-std=gnu90";
|
|
|
|
meta = with lib; {
|
|
description = "Library to Access SMI MIB Information";
|
|
homepage = "https://www.ibr.cs.tu-bs.de/projects/libsmi/index.html";
|
|
license = licenses.free;
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
};
|
|
}
|