metar: switch to fetchFromGitHub, use unstable version format

authored by

Sandro Jäckel and committed by
Sandro Jäckel
4ee38da0 43163844

+7 -6
+7 -6
pkgs/applications/misc/metar/default.nix
··· 1 - { lib, stdenv, fetchgit, curl }: 1 + { lib, stdenv, fetchFromGitHub, curl }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "metar"; 5 - version = "20161013.1"; 5 + version = "unstable-2017-02-17"; 6 6 7 - src = fetchgit { 8 - url = "https://github.com/keesL/metar.git"; 7 + src = fetchFromGitHub { 8 + owner = "keesL"; 9 + repo = "metar"; 9 10 rev = "20e9ca69faea330f6c2493b6829131c24cb55147"; 10 11 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj"; 11 12 }; ··· 14 15 15 16 meta = with lib; { 16 17 homepage = "https://github.com/keesL/metar"; 17 - license = licenses.gpl2; 18 - maintainers = [ maintainers.zalakain ]; 19 18 description = "Downloads weather reports and optionally decodes them"; 20 19 longDescription = '' 21 20 METAR reports are meteorogical weather reports for aviation. Metar is a small ··· 27 26 more work in the area of clouds need to be done, as support for Cumulus or 28 27 Cumulunimbus is not yet decoded. 29 28 ''; 29 + license = licenses.gpl2Plus; 30 + maintainers = with maintainers; [ zalakain ]; 30 31 }; 31 32 }