3e7541c14f
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
28 lines
630 B
Nix
28 lines
630 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "metar";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "python-metar";
|
|
repo = "python-metar";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pl2NWRfFCYyM2qvBt4Ic3wgbGkYZvAO6pX2Set8zYW8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|