depot/third_party/nixpkgs/pkgs/applications/misc/metar/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
1.1 KiB
Nix

{ stdenv, fetchgit, curl }:
stdenv.mkDerivation {
name = "metar-20161013.1";
src = fetchgit {
url = "https://github.com/keesL/metar.git";
rev = "20e9ca69faea330f6c2493b6829131c24cb55147";
sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj";
};
buildInputs = [ curl ];
meta = with stdenv.lib; {
homepage = "https://github.com/keesL/metar";
license = licenses.gpl2;
maintainers = [ maintainers.zalakain ];
description = "Downloads weather reports and optionally decodes them";
longDescription = ''
METAR reports are meteorogical weather reports for aviation. Metar is a small
program which downloads weather reports for user-specified stations and
optionally decodes them into a human-readable format.
Currently, metar supports decoding date/time, wind, visibility, cloud layers,
temperature, air pressure and weather phenomena, such as rain, fog, etc. Also,
more work in the area of clouds need to be done, as support for Cumulus or
Cumulunimbus is not yet decoded.
'';
};
}