python3Packages.metar: init at 1.8.0

This commit is contained in:
Fabian Affolter 2021-02-13 15:16:35 +01:00
parent 5852a21819
commit 4d2f44992c
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "metar";
version = "1.8.0";
src = fetchFromGitHub {
owner = "python-metar";
repo = "python-metar";
rev = "v${version}";
sha256 = "019vfq9191cdvvq1afdcdgdgbzpj7wq6pz9li8ggim71azjnv5nn";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "metar" ];
meta = with lib; {
description = "Python parser for coded METAR weather reports";
homepage = "https://github.com/python-metar/python-metar";
license = with licenses; [ bsd1 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -542,6 +542,8 @@ in {
augeas = callPackage ../development/python-modules/augeas { inherit (pkgs) augeas; };
auroranoaa = callPackage ../development/python-modules/auroranoaa { };
auth0-python = callPackage ../development/python-modules/auth0-python { };
authheaders = callPackage ../development/python-modules/authheaders { };
@ -4032,6 +4034,8 @@ in {
metaphone = callPackage ../development/python-modules/metaphone { };
metar = callPackage ../development/python-modules/metar { };
mezzanine = callPackage ../development/python-modules/mezzanine { };
micawber = callPackage ../development/python-modules/micawber { };