Merge master into staging-next
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, async-timeout
|
||||
, backoff
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiogithubapi";
|
||||
version = "21.8.1";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ludeeus";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1l59bb956gymi2dkgg88mr0nc80wqvw2dv69qf4f1xr3jxy03qa2";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
|
||||
# are not in their focus
|
||||
substituteInPlace setup.py \
|
||||
--replace 'version="main",' 'version="${version}",'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
backoff
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiogithubapi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the GitHub API";
|
||||
homepage = "https://github.com/ludeeus/aiogithubapi";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cucumber-tag-expressions";
|
||||
version = "4.0.0";
|
||||
version = "4.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "83ce5fa87d1b37a690106aedf58a12d0d16758f38f73336f2c703e2bfe01d7db";
|
||||
sha256 = "4ef4e0513d4c26d42299ffed010ed5e24125b87fc64de2e74b979d4a84c8f522";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-html ];
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazr.uri";
|
||||
version = "1.0.5";
|
||||
version = "1.0.6";
|
||||
|
||||
disabled = isPy27; # namespace is broken for python2
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f36e7e40d5f8f2cf20ff2c81784a14a546e6c19c216d40a6617ebe0c96c92c49";
|
||||
sha256 = "5026853fcbf6f91d5a6b11ea7860a641fe27b36d4172c731f4aa16b900cf8464";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ledgerblue";
|
||||
version = "0.1.37";
|
||||
version = "0.1.38";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f34945c9bd4b9846ed9e48ecc239d3e9aec64c3a45411092d133260246169854";
|
||||
sha256 = "df1fffc4f586eaa95b8cf910176d28997e65a3ecd43d9c0af34e46078b6b6ee3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -19,6 +19,8 @@ buildPythonPackage rec {
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "ledgerblue" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to communicate with Ledger Blue/Nano S";
|
||||
homepage = "https://github.com/LedgerHQ/blue-loader-python";
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ntc-templates";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
format = "pyproject";
|
||||
disabled = isPy27;
|
||||
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "networktocode";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0s4my422cdmjfz787a7697938qfnllxwx004jfp3a8alzw2h30g1";
|
||||
sha256 = "0sga86ajbh3a8wsb7q5mxzxhlg4fds8pr33ybjgi1sda4bvp2dvp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, requests, six, pbr, setuptools }:
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, mock
|
||||
, openstacksdk
|
||||
, pbr
|
||||
, python-keystoneclient
|
||||
, stestr
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "python-swiftclient";
|
||||
@@ -9,26 +17,22 @@ buildPythonApplication rec {
|
||||
sha256 = "sha256-MTtEShTQ+bYoy/PoxS8sQnFlj56KM9QiKFHC5PD3t6A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pbr ];
|
||||
propagatedBuildInputs = [ pbr python-keystoneclient ];
|
||||
|
||||
propagatedBuildInputs = [ requests six setuptools ];
|
||||
checkInputs = [
|
||||
mock
|
||||
openstacksdk
|
||||
stestr
|
||||
];
|
||||
|
||||
# For the tests the following requirements are needed:
|
||||
# https://github.com/openstack/python-swiftclient/blob/master/test-requirements.txt
|
||||
#
|
||||
# The ones missing in nixpkgs (currently) are:
|
||||
# - hacking
|
||||
# - keystoneauth
|
||||
# - oslosphinx
|
||||
# - stestr
|
||||
# - reno
|
||||
# - openstackdocstheme
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
stestr run
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/openstack/python-swiftclient";
|
||||
description = "Python bindings to the OpenStack Object Storage API";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ c0deaddict SuperSandro2000 ];
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user