1 { lib, stdenv, fetchFromGitHub, curl }:
5 version = "unstable-2017-02-17";
7 src = fetchFromGitHub {
10 rev = "20e9ca69faea330f6c2493b6829131c24cb55147";
11 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj";
14 buildInputs = [ curl ];
17 homepage = "https://github.com/keesL/metar";
18 description = "Downloads weather reports and optionally decodes them";
20 METAR reports are meteorogical weather reports for aviation. Metar is a small
21 program which downloads weather reports for user-specified stations and
22 optionally decodes them into a human-readable format.
24 Currently, metar supports decoding date/time, wind, visibility, cloud layers,
25 temperature, air pressure and weather phenomena, such as rain, fog, etc. Also,
26 more work in the area of clouds need to be done, as support for Cumulus or
27 Cumulunimbus is not yet decoded.
29 license = licenses.gpl2Plus;
30 maintainers = with maintainers; [ zalakain ];