Merge pull request #199390 from fabaff/aiolifx-bump
python310Packages.zamg: init at 0.1.1
This commit is contained in:
commit
31d2f86df8
50
pkgs/development/python-modules/zamg/default.nix
Normal file
50
pkgs/development/python-modules/zamg/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zamg";
|
||||
version = "0.1.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "killer0071234";
|
||||
repo = "python-zamg";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-mVJ1zuh3v803XgynQiUvt6whTmXxGS7SEtr6IDm4kz4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zamg"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to read weather data from ZAMG Austria";
|
||||
homepage = "https://github.com/killer0071234/python-zamg";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -12154,6 +12154,8 @@ self: super: with self; {
|
||||
|
||||
zake = callPackage ../development/python-modules/zake { };
|
||||
|
||||
zamg = callPackage ../development/python-modules/zamg { };
|
||||
|
||||
zarr = callPackage ../development/python-modules/zarr { };
|
||||
|
||||
zc-buildout = callPackage ../development/python-modules/buildout { };
|
||||
|
Loading…
Reference in New Issue
Block a user