summary refs log tree commit diff
path: root/pkgs/applications/misc/metar/default.nix
diff options
context:
space:
mode:
authorUnai Zalakain <unai@gisa-elkartea.org>2017-05-18 01:17:31 +0200
committerUnai Zalakain <unai@gisa-elkartea.org>2017-05-20 11:58:03 +0200
commitc3cbbd09a049fae58e394cae375dbd3d09f62cae (patch)
treeb738b6a875f05cff5d241c1fe067a54efbb5267a /pkgs/applications/misc/metar/default.nix
parent33e10b83348820665a9aecbc4b9b66448311d5c0 (diff)
downloadnixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar.gz
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar.bz2
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar.lz
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar.xz
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.tar.zst
nixpkgs-c3cbbd09a049fae58e394cae375dbd3d09f62cae.zip
metar: init at 20161013.1
Diffstat (limited to 'pkgs/applications/misc/metar/default.nix')
-rw-r--r--pkgs/applications/misc/metar/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/misc/metar/default.nix b/pkgs/applications/misc/metar/default.nix
new file mode 100644
index 00000000000..ca4f91533ec
--- /dev/null
+++ b/pkgs/applications/misc/metar/default.nix
@@ -0,0 +1,30 @@
+{ 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.
+    '';
+  };
+}