Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2021-01-10 15:50:49 +01:00
57 changed files with 2595 additions and 1404 deletions

View File

@@ -5,6 +5,7 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, lib
}:
buildPythonPackage rec {
@@ -27,6 +28,10 @@ buildPythonPackage rec {
pytest-asyncio
];
disabledTests = lib.optionals stdenv.isDarwin [
"test_multiprocessing"
];
meta = with stdenv.lib; {
description = "Reference ASGI adapters and channel layers";
license = licenses.bsd3;

View File

@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "awkward0";
version = "0.15.1";
version = "0.15.2";
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "awkward-0.x";
rev = version;
sha256 = "17zrw25h6g5m4ik1c5piqb7q2bxrshfm4hm3lzfz4s8gi0xjm5gz";
sha256 = "sha256-C6/byIGcabGjws5QI9sh5BO2M4Lhqkooh4mSjUEKCKU=";
};
nativeBuildInputs = [ pytestrunner ];

View File

@@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mac_alias
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ds_store";
version = "1.3.0";
src = fetchFromGitHub {
owner = "al45tair";
repo = pname;
rev = "v${version}";
sha256 = "1zmhnz110dvisydp5h6s0ry2v9qf4rgr60xhhlak0c66zpvlkkl0";
};
propagatedBuildInputs = [ mac_alias ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ds_store" ];
meta = with lib; {
homepage = "https://github.com/al45tair/ds_store";
description = "Manipulate Finder .DS_Store files from Python";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};
}

View File

@@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "graphene";
version = "3.0.0b6";
version = "3.0.0b7";
src = fetchFromGitHub {
owner = "graphql-python";
repo = "graphene";
rev = "v${version}";
sha256 = "1q6qmyc4jbi9cws4d98x7bgi7gppd09dmzijkb19fwbh4giy938r";
sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338=";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,56 @@
{ lib
, aiohttp
, async-timeout
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry
, pylint
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "pytile";
version = "5.1.0";
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "0hdyb8ca4ihqf7yfkr3hbpkwz7g182ycra151y5dxn0319fillc3";
};
format = "pyproject";
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [
aiohttp
pylint
];
checkInputs = [
aresponses
pytest-aiohttp
pytest-asyncio
pytestCheckHook
];
# Ignore the examples as they are prefixed with test_
pytestFlagsArray = [ "--ignore examples/" ];
pythonImportsCheck = [ "pytile" ];
meta = with lib; {
description = " Python API for Tile Bluetooth trackers";
longDescription = ''
pytile is a simple Python library for retrieving information on Tile
Bluetooth trackers (including last location and more).
'';
homepage = "https://github.com/bachya/pytile";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "uproot3";
version = "3.14.1";
version = "3.14.2";
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "uproot3";
rev = version;
sha256 = "1npwh4l96wg3m24jhfc8i84nfwfc18flrmymf80fx101wmpi2qz8";
sha256 = "sha256-6/e+qMgwyFUo8MRRTAaGp9WLPxE2fqMEK4paq26Epzc=";
};
nativeBuildInputs = [ pytestrunner ];