evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / metar / default.nix
blob6adcc91bda99f08dfeafb6226c174be6820bca5d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "metar";
11   version = "1.11.0";
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=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "metar" ];
27   meta = with lib; {
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 ];
33   };