Merge staging-next into staging
This commit is contained in:
@@ -1,29 +1,21 @@
|
||||
{ buildPythonPackage, lib, fetchPypi, fetchpatch
|
||||
{ buildPythonPackage, lib, fetchPypi
|
||||
, pytestCheckHook, filelock, mock, pep8
|
||||
, cython
|
||||
, six, pyshp, shapely, geos, numpy
|
||||
, gdal, pillow, matplotlib, pyepsg, pykdtree, scipy, owslib, fiona
|
||||
, proj
|
||||
, proj, flufl_lock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cartopy";
|
||||
version = "0.18.0";
|
||||
version = "0.19.0.post1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Cartopy";
|
||||
sha256 = "0d24fk0cbp29gmkysrwq05vry13swmwi3vx3cpcy04c0ixz33ykz";
|
||||
sha256 = "0xnm8z3as3hriivdfd26s6vn5b63gb46x6vxw6gh1mwfm5rlg2sb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix numpy-1.20 compatibility. Will be part of 0.19.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/SciTools/cartopy/commit/e663bbbef07989a5f8484a8f36ea9c07e61d14ce.patch";
|
||||
sha256 = "061kbjgzkc3apaz6sxy00pkgy3n9dxcgps5wzj4rglb5iy86n2kq";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
geos proj
|
||||
];
|
||||
@@ -36,7 +28,7 @@ buildPythonPackage rec {
|
||||
gdal pillow matplotlib pyepsg pykdtree scipy fiona owslib
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook filelock mock pep8 ];
|
||||
checkInputs = [ pytestCheckHook filelock mock pep8 flufl_lock ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--pyargs" "cartopy"
|
||||
@@ -46,6 +38,7 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
"test_nightshade_image"
|
||||
"background_img"
|
||||
"test_gridliner_labels_bbox_style"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -56,7 +49,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Process geospatial data to create maps and perform analyses";
|
||||
license = licenses.lgpl3;
|
||||
license = licenses.lgpl3Plus;
|
||||
homepage = "https://scitools.org.uk/cartopy/docs/latest/";
|
||||
maintainers = with maintainers; [ mredaelli ];
|
||||
};
|
||||
|
||||
@@ -3,32 +3,34 @@
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, coloredlogs
|
||||
, coveralls
|
||||
, fetchFromGitHub
|
||||
, jsonschema
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytest-timeout
|
||||
, pytestcov
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, voluptuous
|
||||
, zigpy }:
|
||||
, zigpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.4.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zha-ng";
|
||||
repo = "zigpy-znp";
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g5jssdnibhb4i4k1js9iy9w40cipf1gdnyp847x0bv6wblzx8rl";
|
||||
sha256 = "152d803jfrvkj4namni41fnbbnq85wd7zsqjhmkwrrmn2gvqjiln";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
coloredlogs
|
||||
jsonschema
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
voluptuous
|
||||
@@ -36,18 +38,19 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
coveralls
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-timeout
|
||||
pytestcov
|
||||
pytestCheckHook
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
asynctest
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "zigpy_znp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for zigpy which communicates with TI ZNP radios";
|
||||
homepage = "https://github.com/zha-ng/zigpy-znp";
|
||||
description = "Python library for zigpy which communicates with TI ZNP radios";
|
||||
homepage = "https://github.com/zigpy/zigpy-znp";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ mvnetbiz ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user