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