Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, curl }: 2 3stdenv.mkDerivation { 4 pname = "metar"; 5 version = "unstable-2017-02-17"; 6 7 src = fetchFromGitHub { 8 owner = "keesL"; 9 repo = "metar"; 10 rev = "20e9ca69faea330f6c2493b6829131c24cb55147"; 11 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj"; 12 }; 13 14 buildInputs = [ curl ]; 15 16 meta = with lib; { 17 homepage = "https://github.com/keesL/metar"; 18 description = "Downloads weather reports and optionally decodes them"; 19 longDescription = '' 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. 23 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. 28 ''; 29 license = licenses.gpl2Plus; 30 maintainers = with maintainers; [ zalakain ]; 31 }; 32}