9 buildPythonPackage rec {
12 format = "setuptools";
14 disabled = pythonOlder "3.7";
16 src = fetchFromGitHub {
17 owner = "python-metar";
18 repo = "python-metar";
19 rev = "refs/tags/v${version}";
20 hash = "sha256-ZDjlXcSTUcSP7oRdhzLpXf/fLUA7Nkc6nj2I6vovbHg=";
23 nativeCheckInputs = [ pytestCheckHook ];
25 pythonImportsCheck = [ "metar" ];
28 description = "Python parser for coded METAR weather reports";
29 homepage = "https://github.com/python-metar/python-metar";
30 changelog = "https://github.com/python-metar/python-metar/blob/v${version}/CHANGELOG.md";
31 license = with licenses; [ bsd1 ];
32 maintainers = with maintainers; [ fab ];