diff --git a/pkgs/tools/networking/wavemon/default.nix b/pkgs/tools/networking/wavemon/default.nix index ece252a9b6c7..0457c1ce6233 100644 --- a/pkgs/tools/networking/wavemon/default.nix +++ b/pkgs/tools/networking/wavemon/default.nix @@ -1,20 +1,26 @@ -{stdenv, fetchgit, ncurses, libnl, pkgconfig}: +{ stdenv, fetchFromGitHub, ncurses, libnl, pkgconfig }: + stdenv.mkDerivation rec { - version = "0.7.6.20151001"; - baseName="wavemon"; - name="${baseName}-${version}"; - buildInputs = [ncurses libnl pkgconfig]; - src = fetchgit { - url = https://github.com/uoaerg/wavemon.git ; - rev = "05753aed2ec5a786d602c7903c89fc6a230f8d42"; - sha256 = "13y4bi4qz4596f11ng6zaqir5j234wv64z4670q3pzh3fqmzmpm4"; + version = "0.8.1"; + baseName = "wavemon"; + name = "${baseName}-${version}"; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ ncurses libnl ]; + + src = fetchFromGitHub { + owner = "uoaerg"; + repo = "wavemon"; + rev = "v${version}"; + sha256 = "0mx61rzl8a66pmigv2fh75zgdalxx75a5s1b7ydbviz18ihhjyls"; }; - meta = { + + meta = with stdenv.lib; { inherit version; - description = "WiFi state monitor"; - license = stdenv.lib.licenses.gpl3Plus ; - maintainers = [stdenv.lib.maintainers.raskin]; + description = "Ncurses-based monitoring application for wireless network devices"; + homepage = https://github.com/uoaerg/wavemon; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ raskin fpletz ]; platforms = stdenv.lib.platforms.linux; - downloadPage = https://github.com/uoaerg/wavemon.git ; }; }