diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-11-08 09:59:01 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2021-11-09 17:52:21 +0100 |
commit | 4ee38da0c68611a8892689ea9e0567048b35fda4 (patch) | |
tree | 7b9cd5f4775a58a0d4dac8845d8698a00b1891a6 | |
parent | 43163844c093c0d9b0b814b9bceea863efe2c9c9 (diff) |
metar: switch to fetchFromGitHub, use unstable version format
-rw-r--r-- | pkgs/applications/misc/metar/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/misc/metar/default.nix b/pkgs/applications/misc/metar/default.nix index 50721a586362f..07ac41f7281eb 100644 --- a/pkgs/applications/misc/metar/default.nix +++ b/pkgs/applications/misc/metar/default.nix @@ -1,11 +1,12 @@ -{ lib, stdenv, fetchgit, curl }: +{ lib, stdenv, fetchFromGitHub, curl }: stdenv.mkDerivation { pname = "metar"; - version = "20161013.1"; + version = "unstable-2017-02-17"; - src = fetchgit { - url = "https://github.com/keesL/metar.git"; + src = fetchFromGitHub { + owner = "keesL"; + repo = "metar"; rev = "20e9ca69faea330f6c2493b6829131c24cb55147"; sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj"; }; @@ -14,8 +15,6 @@ stdenv.mkDerivation { meta = with 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 @@ -27,5 +26,7 @@ stdenv.mkDerivation { more work in the area of clouds need to be done, as support for Cumulus or Cumulunimbus is not yet decoded. ''; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ zalakain ]; }; } |