metar: switch to fetchFromGitHub, use unstable version format

This commit is contained in:
Sandro Jäckel 2021-11-08 09:59:01 +01:00 committed by Sandro Jäckel
parent 43163844c0
commit 4ee38da0c6
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

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