depot/pkgs/by-name/wa/wavemon/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
714 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, libnl
, ncurses
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "wavemon";
version = "0.9.6";
src = fetchFromGitHub {
owner = "uoaerg";
repo = "wavemon";
rev = "v${version}";
sha256 = "sha256-OnELXlnzXamQflCAWuc4fxwvqHZtl+nrlTpkKK4IGKw=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libnl
ncurses
];
meta = with lib; {
description = "Ncurses-based monitoring application for wireless network devices";
homepage = "https://github.com/uoaerg/wavemon";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ raskin fpletz ];
platforms = platforms.linux;
mainProgram = "wavemon";
};
}