mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
Merge master into staging-next
This commit is contained in:
42
pkgs/development/python-modules/aiobotocore/default.nix
Normal file
42
pkgs/development/python-modules/aiobotocore/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pytestrunner
|
||||
, typing-extensions
|
||||
, wrapt
|
||||
, aioitertools
|
||||
, aiohttp
|
||||
, botocore
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiobotocore";
|
||||
version = "1.1.2";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fn9hgcg3qr9f7srjxc21bzkiix4al9308531slwlm99r0x3xcjl";
|
||||
};
|
||||
|
||||
# relax version constraints: aiobotocore works with newer botocore versions
|
||||
# the pinning used to match some `extras_require` we're not using.
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace 'botocore>=1.17.44,<1.17.45' 'botocore'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ wrapt aiohttp aioitertools botocore ];
|
||||
|
||||
# tests not distributed on pypi
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "aiobotocore" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Async client for amazon services using botocore and aiohttp/asyncio.";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/aio-libs/aiobotocore";
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
}
|
||||
35
pkgs/development/python-modules/aioitertools/default.nix
Normal file
35
pkgs/development/python-modules/aioitertools/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
, coverage
|
||||
, python
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioitertools";
|
||||
version = "0.7.1";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18ql6k2j1839jf2rmmmm29v6fb7mr59l75z8nlf0sadmydy6r9al";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ typing-extensions ];
|
||||
checkInputs = [ coverage toml ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m coverage run -m aioitertools.tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables.";
|
||||
license = licenses.mit;
|
||||
homepage = "https://pypi.org/project/aioitertools/";
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
}
|
||||
@@ -12,13 +12,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.9.5";
|
||||
version = "0.9.6";
|
||||
pname = "eyeD3";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "faf5806197f2093e82c2830d41f2378f07b3a9da07a16fafb14fc6fbdebac50a";
|
||||
sha256 = "4b5064ec0fb3999294cca0020d4a27ffe4f29149e8292fdf7b2de9b9cabb7518";
|
||||
};
|
||||
|
||||
# requires special test data:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
, six
|
||||
, moretools
|
||||
, pathpy
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,31 +15,19 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
extension = "zip";
|
||||
inherit pname version;
|
||||
sha256 = "64934c68cfcdb75ed4a1ccadcfd5d2a46bf1b8e8e81dde89ef0f042c401e94f1";
|
||||
sha256 = "1wcl3r02q10gxy4xw7g8x2wg2sx4sbawzbfcl7a5xdydrxl4r4v4";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
zetup
|
||||
];
|
||||
buildInputs = [ zetup ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
moretools
|
||||
pathpy
|
||||
];
|
||||
propagatedBuildInputs = [ six moretools pathpy ];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test
|
||||
'';
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Universal data modeling for Python";
|
||||
homepage = "https://bitbucket.org/userzimmermann/python-modeled";
|
||||
license = licenses.lgpl3;
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,24 +1,39 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pyusb, pyserial }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyserial
|
||||
, pythonOlder
|
||||
, pyusb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyftdi";
|
||||
version = "0.51.2";
|
||||
version = "0.52.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eblot";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "14mkwk44bgm6s4kqagz7nm6p6gsygmksl2628jaqh7ppblxca9as";
|
||||
sha256 = "0nm4z7v9qcb9mxqbl21jgzica4faldnpy5qmbkrc6scnx55pxfm9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyusb pyserial ];
|
||||
|
||||
# tests requires access to the serial port
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "pyftdi" ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "User-space driver for modern FTDI devices";
|
||||
longDescription = ''
|
||||
PyFtdi aims at providing a user-space driver for popular FTDI devices.
|
||||
This includes UART, GPIO and multi-serial protocols (SPI, I2C, JTAG)
|
||||
bridges.
|
||||
'';
|
||||
homepage = "https://github.com/eblot/pyftdi";
|
||||
license = lib.licenses.bsd3;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3, fsspec }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, aiobotocore, fsspec }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3fs";
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ docutils ];
|
||||
propagatedBuildInputs = [ boto3 fsspec ];
|
||||
propagatedBuildInputs = [ aiobotocore fsspec ];
|
||||
|
||||
# Depends on `moto` which has a long dependency chain with exact
|
||||
# version requirements that can't be made to work with current
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slixmpp";
|
||||
version = "1.5.2";
|
||||
version = "1.6.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c5g4r5c6zm5fgvk6dd0dbx9gl3ws2swajc5knlacnpfykwzp5b4";
|
||||
sha256 = "0jamly1jv31ragpv8yn52av1m48iwl4i7f9knb67vmk8c22rjdwa";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
Reference in New Issue
Block a user